Commit a33d01a7 authored by jeresig's avatar jeresig

Remove the need for the return in sizzle-jquery and just remove the attempt to...

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.
parent 950b5d64
...@@ -61,7 +61,7 @@ ${JQ}: selector ${MODULES} ...@@ -61,7 +61,7 @@ ${JQ}: selector ${MODULES}
selector: ${DIST_DIR} init selector: ${DIST_DIR} init
@@echo "Building selector code from Sizzle" @@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} lint: ${JQ}
@@echo "Checking jQuery against JSLint..." @@echo "Checking jQuery against JSLint..."
......
...@@ -5,5 +5,3 @@ jQuery.unique = Sizzle.uniqueSort; ...@@ -5,5 +5,3 @@ jQuery.unique = Sizzle.uniqueSort;
jQuery.text = getText; jQuery.text = getText;
jQuery.isXMLDoc = isXML; jQuery.isXMLDoc = isXML;
jQuery.contains = contains; jQuery.contains = contains;
return;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment