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 /src/selector-native.js | |
parent | 7627b8b6d9ef6e57dbd20a55b946bd1991c1223e (diff) | |
download | jquery-6318ae6ab90d4b450dfadf32ab95fe52ed6331cb.tar.gz jquery-6318ae6ab90d4b450dfadf32ab95fe52ed6331cb.zip |
AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Diffstat (limited to 'src/selector-native.js')
-rw-r--r-- | src/selector-native.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/selector-native.js b/src/selector-native.js index 58a0cec41..cec99cef2 100644 --- a/src/selector-native.js +++ b/src/selector-native.js @@ -1,3 +1,7 @@ +define([ + "./core" +], function( jQuery ) { + /* * Optional (non-Sizzle) selector module for custom builds. * @@ -23,7 +27,8 @@ * customize this stub for the project's specific needs. */ -var selector_hasDuplicate, +var docElem = window.document.documentElement, + selector_hasDuplicate, matches = docElem.webkitMatchesSelector || docElem.mozMatchesSelector || docElem.oMatchesSelector || @@ -162,3 +167,5 @@ jQuery.extend( jQuery.find, { return elem.getAttribute( name ); } }); + +}); |