From: Iskren Chernev Date: Sun, 13 Oct 2013 08:40:09 +0000 (-0700) Subject: Removed scripts reset in tasks/component.js X-Git-Tag: 2.4.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b179d2ed6add7d19d3e8b06d5b34c92e83fc257;p=thirdparty%2Fmoment.git Removed scripts reset in tasks/component.js --- diff --git a/tasks/component.js b/tasks/component.js index 73d6979c2..d975b2d31 100644 --- a/tasks/component.js +++ b/tasks/component.js @@ -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)); });