From 6318ae6ab90d4b450dfadf32ab95fe52ed6331cb Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Thu, 15 Aug 2013 14:15:49 -0400 Subject: AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. --- test/unit/core.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'test/unit/core.js') diff --git a/test/unit/core.js b/test/unit/core.js index 5fba3cf28..a849591dd 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -17,18 +17,6 @@ test("Basic requirements", function() { ok( $, "$" ); }); -testIframeWithCallback( "Conditional compilation compatibility (#13274)", "core/cc_on.html", function( cc_on, errors, $ ) { - expect( 3 ); - ok( true, "JScript conditional compilation " + ( cc_on ? "supported" : "not supported" ) ); - deepEqual( errors, [], "No errors" ); - ok( $(), "jQuery executes" ); -}); - -testIframeWithCallback( "document ready when jQuery loaded asynchronously (#13655)", "core/dynamic_ready.html", function( ready ) { - expect( 1 ); - equal( true, ready, "document ready correctly fired when jQuery is loaded after DOMContentLoaded" ); -}); - test("jQuery()", function() { var elem, i, @@ -1385,3 +1373,15 @@ test("jQuery.camelCase()", function() { equal( jQuery.camelCase( key ), val, "Converts: " + key + " => " + val ); }); }); + +testIframeWithCallback( "Conditional compilation compatibility (#13274)", "core/cc_on.html", function( cc_on, errors, $ ) { + expect( 3 ); + ok( true, "JScript conditional compilation " + ( cc_on ? "supported" : "not supported" ) ); + deepEqual( errors, [], "No errors" ); + ok( $(), "jQuery executes" ); +}); + +testIframeWithCallback( "document ready when jQuery loaded asynchronously (#13655)", "core/dynamic_ready.html", function( ready ) { + expect( 1 ); + equal( true, ready, "document ready correctly fired when jQuery is loaded after DOMContentLoaded" ); +}); -- cgit v1.2.3