Skip to content

Commit

Permalink
Fix ugly bug with custom reporters
Browse files Browse the repository at this point in the history
JS comma operator: I hate you
  • Loading branch information
tillsc committed Jul 16, 2017
1 parent 74cd4c8 commit 7fab52b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions browser/browsertests-frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ define('browsertests-frame', ['browsertests-base', 'q', 'bowser', 'jquery'], fun
}
));
} else if (reporter.type === 'require') {
require([reporter.load]), function (customReporter) {
require([reporter.load], function (customReporter) {
customReporter(data, jQuery.extend({}, globalOptions, reporter.options));
};
});
}
});
}
Expand Down Expand Up @@ -307,4 +307,4 @@ define('browsertests-frame', ['browsertests-base', 'q', 'bowser', 'jquery'], fun
currentTest: function() { return currentTest; }
};

});
});

0 comments on commit 7fab52b

Please sign in to comment.