Skip to content

Commit

Permalink
style: Fix typo in initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Schaller committed Feb 26, 2016
1 parent bed96c4 commit a19b679
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var JUnitReporter = function (baseReporterDecorator, config, logger, helper, for
}
]

var initliazeXmlForBrowser = function (browser) {
var initializeXmlForBrowser = function (browser) {
var timestamp = (new Date()).toISOString().substr(0, 19)
var suite = suites[browser.id] = builder.create('testsuite')
suite.att('name', browser.name)
Expand Down Expand Up @@ -93,11 +93,11 @@ var JUnitReporter = function (baseReporterDecorator, config, logger, helper, for
suites = Object.create(null)

// TODO(vojta): remove once we don't care about Karma 0.10
browsers.forEach(initliazeXmlForBrowser)
browsers.forEach(initializeXmlForBrowser)
}

this.onBrowserStart = function (browser) {
initliazeXmlForBrowser(browser)
initializeXmlForBrowser(browser)
}

this.onBrowserComplete = function (browser) {
Expand Down

0 comments on commit a19b679

Please sign in to comment.