-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qunit throws syntax error on Safari 2.0.4 #5
Comments
I do not know why are "named function expressions" used here,but if they are needed, one can do this : |
lekas --> leaks |
Remove the named function expressions, to stop Safari 2 from freaking out. Closed by f55bf2d. |
Good. The only reason I can remember, to use named F expressions, is to be able to "see" named (vs anonymous) functions in (visual studio) debugger ... |
This issue, and a possible solution for Safari 2, is discussed further here, in case anyone is interested: http://yura.thinkweb2.com/named-function-expressions/#named-expr |
I do not think jQuery or (BBC) Glow will ever have "named function expressions" inside ... Sorry for the noise ;o) |
…ber) declared with the 'new' prefix. See comments qunitjs#3, qunitjs#4 and qunitjs#5 on http://philrathe.com/articles/equiv
It is not possible to use qunit to run tests in the Safari 2.0.4 browser, which is still a Level 2 browser here at the BBC. This is because qunit uses a function declaration pattern that Safari 2.0.4 considers to be a "syntax error."
Rewriting those function declarations to be like the following example will allow qunit to run in Safari 2.0.4.
The text was updated successfully, but these errors were encountered: