Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing test runner failures in IE 6/7/8 whereby HtmlReporter.js bails…

… out as we're using for (reserved keyword) as object property name. Fix is just to quote the name which allows IE6/7/8 to run the tests. I think this might also fix Issue #303 on main repo (jasmine#303)
  • Loading branch information...
commit dcf62f53f446f5f7bb8139d464b0801faa2714e6 1 parent 867de62
@unrulydevelopers unrulydevelopers authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/html/HtmlReporter.js
View
2  src/html/HtmlReporter.js
@@ -94,7 +94,7 @@ jasmine.HtmlReporter = function(_doc) {
dom.symbolSummary = self.createDom('ul', {className: 'symbolSummary'}),
dom.alert = self.createDom('div', {className: 'alert'},
self.createDom('span', { className: 'exceptions' },
- self.createDom('label', { className: 'label', for: 'no_try_catch' }, 'No try/catch'),
+ self.createDom('label', { className: 'label', 'for': 'no_try_catch' }, 'No try/catch'),
self.createDom('input', { id: 'no_try_catch', type: 'checkbox' }))),
dom.results = self.createDom('div', {className: 'results'},
dom.summary = self.createDom('div', { className: 'summary' }),
Please sign in to comment.
Something went wrong with that request. Please try again.