mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Remove the need for the return in sizzle-jquery and just remove the attempt to expose Sizzle completely. jQuery is 100% passing JSLint ('make lint') now.
This commit is contained in:
parent
950b5d64a2
commit
a33d01a7b0
2
Makefile
2
Makefile
@ -61,7 +61,7 @@ ${JQ}: selector ${MODULES}
|
||||
|
||||
selector: ${DIST_DIR} init
|
||||
@@echo "Building selector code from Sizzle"
|
||||
@@sed '/EXPOSE/r src/sizzle-jquery.js' src/sizzle/sizzle.js > src/selector.js
|
||||
@@sed '/EXPOSE/r src/sizzle-jquery.js' src/sizzle/sizzle.js | grep -v window.Sizzle > src/selector.js
|
||||
|
||||
lint: ${JQ}
|
||||
@@echo "Checking jQuery against JSLint..."
|
||||
|
@ -5,5 +5,3 @@ jQuery.unique = Sizzle.uniqueSort;
|
||||
jQuery.text = getText;
|
||||
jQuery.isXMLDoc = isXML;
|
||||
jQuery.contains = contains;
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user