From: Isaac Cambron Date: Sun, 7 Apr 2013 03:49:37 +0000 (-0400) Subject: preferring single quotes X-Git-Tag: 2.1.0~40^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fcab504e29fb7a6ba5ff918d62d0dfd37d7df68;p=thirdparty%2Fmoment.git preferring single quotes --- diff --git a/moment.js b/moment.js index a5a710ee6..995862c83 100644 --- a/moment.js +++ b/moment.js @@ -1409,12 +1409,12 @@ get : function (units) { units = normalizeUnits(units); - return this[units.toLowerCase() + "s"](); + return this[units.toLowerCase() + 's'](); }, as : function (units) { units = normalizeUnits(units); - return this["as" + units.charAt(0).toUpperCase() + units.slice(1) + "s"](); + return this['as' + units.charAt(0).toUpperCase() + units.slice(1) + 's'](); }, lang : moment.fn.lang