From 69534d6318c5d6309f41306d3f0225d122a8bc27 Mon Sep 17 00:00:00 2001 From: Iskren Chernev Date: Wed, 7 Aug 2013 01:22:37 -0700 Subject: [PATCH] Fixed a few comments --- tasks/zones.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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]; })); }); }; -- 2.47.2