diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2012-06-23 19:43:12 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2012-06-23 19:43:12 -0400 |
commit | d4b5a1974d2b60989e9fe1158ce0b8c1f577c2d1 (patch) | |
tree | e63ff4098a08283459afba344dfc17550fd9b24c /grunt.js | |
parent | 3206be877250f5fe958a0519ef19d52e277687ca (diff) | |
download | jquery-d4b5a1974d2b60989e9fe1158ce0b8c1f577c2d1.tar.gz jquery-d4b5a1974d2b60989e9fe1158ce0b8c1f577c2d1.zip |
Make @VERSION replace regex global. Fixes #11960
Diffstat (limited to 'grunt.js')
-rw-r--r-- | grunt.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ); |