aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/testrunner.js3
-rw-r--r--test/data/versioncheck.js8
2 files changed, 8 insertions, 3 deletions
diff --git a/test/data/testrunner.js b/test/data/testrunner.js
index 1da67651e..6d44b460c 100644
--- a/test/data/testrunner.js
+++ b/test/data/testrunner.js
@@ -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;
-
})();
-
diff --git a/test/data/versioncheck.js b/test/data/versioncheck.js
new file mode 100644
index 000000000..f4b7790da
--- /dev/null
+++ b/test/data/versioncheck.js
@@ -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"));
+ }
+})(); \ No newline at end of file