aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-09 16:25:51 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-09 16:25:51 +0100
commit59a26c87c4ea38a6cf864e44dd8c05a4286d9cf3 (patch)
tree9938b375bd39f5245eb4c7f05d6959ba102305a3 /grunt.js
parent8a982f59685ce623b9d600c5d53ae4511e2ae5ce (diff)
downloadjquery-ui-59a26c87c4ea38a6cf864e44dd8c05a4286d9cf3.tar.gz
jquery-ui-59a26c87c4ea38a6cf864e44dd8c05a4286d9cf3.zip
Build/grunt: Can use config('pkg.version'), now was fixed in grunt
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 b60ac9e67..a2929ff28 100644
--- a/grunt.js
+++ b/grunt.js
@@ -254,7 +254,7 @@ config('files', files);
task.registerBasicTask('copy', 'Copy files to destination folder and replace @VERSION with pkg.version', function(data) {
function replaceVersion(source) {
- return source.replace("@VERSION", config("pkg").version);
+ return source.replace("@VERSION", config("pkg.version"));
}
var files = file.expand(data.src);
var target = data.dest + '/';