aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2014-12-17 10:35:59 -0500
committerTimmy Willison <timmywillisn@gmail.com>2014-12-17 10:42:29 -0500
commit78ac753192d5490295a46b60f278c030d958bf6d (patch)
treec9d2a53e07076734e78ef53a490019d62ddc2844 /build
parent03557db96c5b9fad22320e94b52b118c89f7b6f9 (diff)
downloadjquery-78ac753192d5490295a46b60f278c030d958bf6d.tar.gz
jquery-78ac753192d5490295a46b60f278c030d958bf6d.zip
Build: account for version labels in Sizzle versions
Fixes gh-1939
Diffstat (limited to 'build')
-rw-r--r--build/ensure-sizzle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ensure-sizzle.js b/build/ensure-sizzle.js
index 51921731c..8c43a4b1d 100644
--- a/build/ensure-sizzle.js
+++ b/build/ensure-sizzle.js
@@ -1,7 +1,7 @@
var fs = require( "fs" ),
npm = require( "npm" ),
sizzleLoc = __dirname + "/../external/sizzle/dist/sizzle.js",
- rversion = /Engine v(\d+\.\d+\.\d+(?:-\w+)?)/;
+ rversion = /Engine v(\d+\.\d+\.\d+[-\.\d\w]*)/;
require( "colors" );