]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Fixed a few comments 983/head
authorIskren Chernev <iskren.chernev@gmail.com>
Wed, 7 Aug 2013 08:22:37 +0000 (01:22 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Wed, 7 Aug 2013 08:22:37 +0000 (01:22 -0700)
tasks/zones.js

index 2bf0eca2559dccd2c2eb9f15fe93065de897afbb..869653cdc5d56568f7bee0d2145cbb1696783137 100644 (file)
@@ -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]; }));
         });
     };