diff options
Diffstat (limited to 'test/data/testrunner.js')
-rw-r--r-- | test/data/testrunner.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/data/testrunner.js b/test/data/testrunner.js index ddbe2b09f..93c285eb6 100644 --- a/test/data/testrunner.js +++ b/test/data/testrunner.js @@ -10,13 +10,13 @@ jQuery.each( [ jQuery.expando, "getInterface", "Packages", "java", "netscape" ], // Expose Sizzle for Sizzle's selector tests // We remove Sizzle's globalization in jQuery -var Sizzle = Sizzle || jQuery.find; +var Sizzle = Sizzle || jQuery.find, // Allow subprojects to test against their own fixtures -var qunitModule = QUnit.module, + qunitModule = QUnit.module, qunitTest = QUnit.test; -function testSubproject( label, url, risTests ) { +this.testSubproject = function( label, url, risTests ) { var sub, fixture, fixtureHTML, fixtureReplaced = false; @@ -132,11 +132,11 @@ function testSubproject( label, url, risTests ) { fn.apply( this, arguments ); }; } -} +}; // Register globals for cleanup and the cleanup code itself // Explanation at http://perfectionkills.com/understanding-delete/#ie_bugs -var Globals = (function() { +this.Globals = (function() { var globals = {}; return { register: function( name ) { |