From: Iskren Chernev Date: Wed, 7 Aug 2013 08:22:37 +0000 (-0700) Subject: Fixed a few comments X-Git-Tag: 2.2.0~30^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F983%2Fhead;p=thirdparty%2Fmoment.git Fixed a few comments --- diff --git a/tasks/zones.js b/tasks/zones.js index 2bf0eca25..869653cdc 100644 --- a/tasks/zones.js +++ b/tasks/zones.js @@ -2,7 +2,6 @@ var fs = require('fs'); module.exports = function (grunt) { - // placeholder for an array of timezones var ZONE_TAB = '/usr/share/zoneinfo/zone.tab'; grunt.registerTask('zones', 'Run the unit tests in different timezones.', function () { @@ -32,9 +31,9 @@ module.exports = function (grunt) { callback(err); } callback(null, content.split(/\r\n|\r|\n/) - // remove commented lines + // remove empty and commented lines .filter(function (line) { return line && !/^#/.test(line); }) - // country code TAB coordinates TAB TZ + // country code TAB coordinates TAB timezone .map(function (line) { return line.split('\t')[2]; })); }); };