]> source.dussan.org Git - jquery.git/commitdiff
Build: account for version labels in Sizzle versions
authorTimmy Willison <timmywillisn@gmail.com>
Wed, 17 Dec 2014 15:35:59 +0000 (10:35 -0500)
committerTimmy Willison <timmywillisn@gmail.com>
Wed, 17 Dec 2014 15:43:13 +0000 (10:43 -0500)
Fixes gh-1939

build/ensure-sizzle.js

index 51921731ce6bbf565bd0fae9911c41845453362e..8c43a4b1d1f8a80c0a0cdfbaf4465477ed9c2785 100644 (file)
@@ -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" );