aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2012-06-23 19:43:12 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-06-23 19:43:12 -0400
commitd4b5a1974d2b60989e9fe1158ce0b8c1f577c2d1 (patch)
treee63ff4098a08283459afba344dfc17550fd9b24c /grunt.js
parent3206be877250f5fe958a0519ef19d52e277687ca (diff)
downloadjquery-d4b5a1974d2b60989e9fe1158ce0b8c1f577c2d1.tar.gz
jquery-d4b5a1974d2b60989e9fe1158ce0b8c1f577c2d1.zip
Make @VERSION replace regex global. Fixes #11960
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/grunt.js b/grunt.js
index 66850a19e..7db8c7c47 100644
--- a/grunt.js
+++ b/grunt.js
@@ -348,7 +348,7 @@ module.exports = function( grunt ) {
// Embed Date
// Embed Version
compiled = compiled.replace( "@DATE", new Date() )
- .replace( "@VERSION", version );
+ .replace( /@VERSION/g, version );
// Write concatenated source to file
file.write( name, compiled );