]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Removed scripts reset in tasks/component.js
authorIskren Chernev <iskren.chernev@gmail.com>
Sun, 13 Oct 2013 08:40:09 +0000 (01:40 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Sun, 13 Oct 2013 08:40:09 +0000 (01:40 -0700)
tasks/component.js

index 73d6979c2613acca7d3e41575411e1bc76f5c318..d975b2d31ee90b88c046ba8c7f9069104b131952 100644 (file)
@@ -1,10 +1,9 @@
 module.exports = function (grunt) {
     grunt.registerTask('component', function () {
         var config = JSON.parse(grunt.file.read('component.json'));
+
         config.files = grunt.file.expand('lang/*.js');
         config.files.unshift('moment.js');
-        config.scripts = [];
-        config.scripts.unshift('moment.js');
 
         grunt.file.write('component.json', JSON.stringify(config, true, 2));
     });