mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
global replace for @VERSION, fixed #2101
This commit is contained in:
parent
0635df4391
commit
e7fef859f1
@ -1,4 +1,4 @@
|
||||
load("build/js/writeFile.js");
|
||||
|
||||
var file = arguments[0];
|
||||
writeFile(file, readFile(file).replace("@VERSION", readFile("version.txt").replace( /^\s+|\s+$/g, "" )));
|
||||
writeFile(file, readFile(file).replace(new RegExp("@VERSION", "g"), readFile("version.txt").replace( /^\s+|\s+$/g, "" )));
|
||||
|
Loading…
Reference in New Issue
Block a user