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
html runner now supports specifing .html tests in url #35
Conversation
Looks reasonable to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the variable declarations on L195-196, this looks good.
domReady(function(){ | ||
doh._fixHeight(); | ||
doh.breakOnError= breakOnError; | ||
for (var amdTests = [], i = 0, l = test.length; i < l; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amdTests
should be declared at the top of the function scope, as it is used later, outside of this block.
doh._fixHeight(); | ||
doh.breakOnError= breakOnError; | ||
for (var amdTests = [], i = 0, l = test.length; i < l; i++) { | ||
var module = test[i]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module
should be declared at the top of the function scope, so it is not redeclared every time inside of this loop.
I have fixed the variable declaration. (no idea why my commit was marked with CLA: Error (Autor has not signed CLA), because it was commited with same account as the first one and I have signed CLA years ago) |
Hi @adros, since becoming the JS Foundation I think everyone needs to resign the CLA. |
39e0300
to
0b13b1f
Compare
This PR modifies doh html runner, so it supports opening tests written as .html, e.g.:
util/doh/runner.html?test=dijit/tests/Menu.html,dojox/lang/tests/array,dijit/tests/Destroyable.html