Avoid changing html in two places; add minified jQuery as an option to the main test page
This commit is contained in:
parent
3dbd7b54de
commit
ea24cd106b
4 changed files with 13 additions and 268 deletions
|
@ -28,9 +28,6 @@ jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
|
|||
|
||||
// QUnit Aliases
|
||||
(function() {
|
||||
|
||||
window.equals = window.equal;
|
||||
window.same = window.deepEqual;
|
||||
|
||||
})();
|
||||
|
||||
|
|
8
test/data/versioncheck.js
Normal file
8
test/data/versioncheck.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
// Run minified source from dist (do make first)
|
||||
// Should be loaded before QUnit but after src
|
||||
(function() {
|
||||
if ( /jquery\=min/.test( window.location.search ) ) {
|
||||
jQuery.noConflict( true );
|
||||
document.write(unescape("%3Cscript%20src%3D%27../dist/jquery.min.js%27%3E%3C/script%3E"));
|
||||
}
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue