diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-08-15 14:15:49 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-08-15 14:15:49 -0400 |
commit | 6318ae6ab90d4b450dfadf32ab95fe52ed6331cb (patch) | |
tree | 50b247fed8569e909e380b281e9145bd1458a39e /test/unit/support.js | |
parent | 7627b8b6d9ef6e57dbd20a55b946bd1991c1223e (diff) | |
download | jquery-6318ae6ab90d4b450dfadf32ab95fe52ed6331cb.tar.gz jquery-6318ae6ab90d4b450dfadf32ab95fe52ed6331cb.zip |
AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Diffstat (limited to 'test/unit/support.js')
-rw-r--r-- | test/unit/support.js | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/test/unit/support.js b/test/unit/support.js index 51d0abd6d..3edc92b48 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -3,13 +3,18 @@ module("support", { teardown: moduleTeardown }); if ( jQuery.css ) { testIframeWithCallback( "body background is not lost if set prior to loading jQuery (#9239)", "support/bodyBackground.html", function( color, support ) { expect( 2 ); - var okValue = { - "#000000": true, - "rgb(0, 0, 0)": true - }; + var okValue = { + "#000000": true, + "rgb(0, 0, 0)": true + }; ok( okValue[ color ], "color was not reset (" + color + ")" ); - deepEqual( jQuery.extend( {}, support ), jQuery.support, "Same support properties" ); + stop(); + // Run doc ready tests as well + jQuery(function() { + deepEqual( jQuery.extend( {}, support ), jQuery.support, "Same support properties" ); + start(); + }); }); } |