Skip to content

Commit afdbc78

Browse files
author
Jonathan Felchlin
committed
Changing availableBrowser to availableBrowsers in README
1 parent 92fb8f7 commit afdbc78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = function(config) {
7171

7272
// post processing of browsers list
7373
// here you can edit the list of browsers used by karma
74-
postDetection: function(availableBrowser) {
74+
postDetection: function(availableBrowsers) {
7575
/* Karma configuration with custom launchers
7676
customLaunchers: {
7777
IE9: {
@@ -82,14 +82,14 @@ module.exports = function(config) {
8282
*/
8383

8484
//Add IE Emulation
85-
var result = availableBrowser;
85+
var result = availableBrowsers;
8686

87-
if (availableBrowser.indexOf('IE')>-1) {
87+
if (availableBrowsers.indexOf('IE')>-1) {
8888
result.push('IE9');
8989
}
9090

9191
//Remove PhantomJS if another browser has been detected
92-
if (availableBrowser.length > 1 && availableBrowser.indexOf('PhantomJS')>-1) {
92+
if (availableBrowsers.length > 1 && availableBrowsers.indexOf('PhantomJS')>-1) {
9393
var i = result.indexOf('PhantomJS');
9494

9595
if (i !== -1) {

0 commit comments

Comments
 (0)