8398c9048d
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
13 lines
No EOL
393 B
JavaScript
13 lines
No EOL
393 B
JavaScript
//Changes the Dojo version in a file. Used during the release process.
|
|
|
|
var version = new String(arguments[0]);
|
|
var fileName = new String(arguments[1]);
|
|
|
|
load("jslib/logger.js");
|
|
load("jslib/fileUtil.js");
|
|
load("jslib/buildUtil.js");
|
|
|
|
var fileContents = fileUtil.readFile(fileName);
|
|
fileContents = buildUtil.changeVersion(version, fileContents);
|
|
|
|
fileUtil.saveUtf8File(fileName, fileContents); |