diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2013-08-27 00:54:13 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2013-09-06 03:38:22 +0200 |
commit | bbbdd947256a3fcd788fb9d4f306046082a1ef1f (patch) | |
tree | 2fc5a02969653d281a44a7b3ff6426b5561c8140 /src/core.js | |
parent | 776012b8b3898fad2e0727880f1dc4af5c7b33c1 (diff) | |
download | jquery-bbbdd947256a3fcd788fb9d4f306046082a1ef1f.tar.gz jquery-bbbdd947256a3fcd788fb9d4f306046082a1ef1f.zip |
Fix #10814. Make support tests lazy and broken out to components.
Diffstat (limited to 'src/core.js')
-rw-r--r-- | src/core.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core.js b/src/core.js index 0eef72311..4103b3832 100644 --- a/src/core.js +++ b/src/core.js @@ -9,9 +9,10 @@ define([ "./var/class2type", "./var/toString", "./var/hasOwn", - "./var/trim" + "./var/trim", + "./var/support" ], function( strundefined, arr, slice, concat, push, indexOf, - class2type, toString, hasOwn, trim ) { + class2type, toString, hasOwn, trim, support ) { var // A central reference to the root jQuery(document) @@ -702,7 +703,11 @@ jQuery.extend({ length ? fn( elems[0], key ) : emptyGet; }, - now: Date.now + now: Date.now, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support }); // Populate the class2type map |