forked from jeresig/env-js
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
break out prototype test into a different; seems to cause problems un…
…der qunit
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
whichJarFile = "rhino" | ||
whichInterpreter = whichJarFile + " interpreter jar"; | ||
multiwindow = false; | ||
load("dist/env.rhino.js"); | ||
load("test/qunit.js"); | ||
|
||
window.addEventListener("load",function(){ | ||
print("\n\nTesting with " + whichInterpreter); | ||
print("Handling onload for test.js"); | ||
print("Loading tests."); | ||
|
||
load("test/unit/prototypecompat.js"); | ||
|
||
print("Load complete. Running tests."); | ||
}); | ||
|
||
window.location = "test/index.html"; | ||
|
||
Envjs.wait(0); |