Browse files

Make jshint happy.

  • Loading branch information...
1 parent f8963cb commit 95b0102b67c7eba533ae12b93d457fd0e1f3d305 @dignifiedquire dignifiedquire committed Mar 13, 2013
Showing with 7 additions and 5 deletions.
  1. +7 −5 index.js
View
12 index.js
@@ -18,10 +18,12 @@ var escapeMessage = function (message) {
};
var formatMessage = function() {
- for (var i = arguments.length - 1; i > 0; i--) {
- arguments[i] = escapeMessage(arguments[i]);
- };
- return util.format.apply(null, arguments) + '\n';
+ var args = Array.prototype.slice.call(arguments);
+
+ for (var i = args.length - 1; i > 0; i--) {
+ args[i] = escapeMessage(args[i]);
+ }
+ return util.format.apply(null, args) + '\n';
};
@@ -73,7 +75,7 @@ var TeamcityReporter = function(baseReporterDecorator) {
log.push(formatMessage(this.TEST_IGNORED, testName));
};
- this.onRunComplete = function(browsers, results) {
+ this.onRunComplete = function() {
var self = this;
Object.keys(this.browserResults).forEach(function(browserId) {

0 comments on commit 95b0102

Please sign in to comment.