aboutsummaryrefslogtreecommitdiffstats
path: root/build/tasks/build.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2016-02-10 13:47:25 -0800
committerTimmy Willison <timmywillisn@gmail.com>2016-02-10 13:47:25 -0800
commit5943f1d7ffef41cc1a99bffe189f6d111fbccfd0 (patch)
treea5ebe5ff957bbedc447e27178b931b30a86a1057 /build/tasks/build.js
parentc7431c7793f7605250807f91bee7c9ddcbaeb91b (diff)
downloadjquery-5943f1d7ffef41cc1a99bffe189f6d111fbccfd0.tar.gz
jquery-5943f1d7ffef41cc1a99bffe189f6d111fbccfd0.zip
Build: use hard-coded path to sizzle in selector-sizzle
Fixes gh-2898
Diffstat (limited to 'build/tasks/build.js')
-rw-r--r--build/tasks/build.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js
index c9f1daeb8..1f1719a48 100644
--- a/build/tasks/build.js
+++ b/build/tasks/build.js
@@ -31,9 +31,6 @@ module.exports = function( grunt ) {
startFile: "src/intro.js",
endFile: [ "src/exports/global.js", "src/outro.js" ]
},
- paths: {
- sizzle: "../external/sizzle/dist/sizzle"
- },
rawText: {},
onBuildWrite: convert
};
@@ -58,7 +55,7 @@ module.exports = function( grunt ) {
.replace( rdefineEnd, "" );
// Sizzle treatment
- } else if ( /^sizzle$/.test( name ) ) {
+ } else if ( /\/sizzle$/.test( name ) ) {
contents = "var Sizzle =\n" + contents
// Remove EXPOSE lines from Sizzle