Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Wrapped the reserved word, "for", in quotes. #270

Merged
merged 1 commit into from

2 participants

@Wolfy87

This stops it throwing errors in IE and other browsers. I think the newer Firefox and Chrome versions are the only browsers to not die when running it.

@Wolfy87 Wolfy87 Wrapped the reserved word, "for", in quotes.
This stops it throwing errors in IE and other browsers. I think the newer Firefox and Chrome versions are the only browsers to not die when running it.
ea2ffb7
@ragaskar ragaskar merged commit 921f528 into from
@ragaskar
Owner

Thanks!

@Wolfy87

No problem, it's the least I can do for all the great work you have done. By far the best way to test my JavaScript. Now I can update my submodule from the official repo again! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 15, 2012
  1. @Wolfy87

    Wrapped the reserved word, "for", in quotes.

    Wolfy87 authored
    This stops it throwing errors in IE and other browsers. I think the newer Firefox and Chrome versions are the only browsers to not die when running it.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/jasmine-core/jasmine-html.js
View
2  lib/jasmine-core/jasmine-html.js
@@ -154,7 +154,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' }),
Something went wrong with that request. Please try again.