From 86329f5daa060b098a515f9c293888421c9bbc23 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 16 Dec 2014 08:35:26 +0000 Subject: [PATCH] Remove unused local variables --- core/modules/utils/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/modules/utils/utils.js b/core/modules/utils/utils.js index 46c2d35ab..a11d4c554 100644 --- a/core/modules/utils/utils.js +++ b/core/modules/utils/utils.js @@ -263,8 +263,7 @@ exports.formatDateString = function(date,template) { while(t.length){ var matchString = ""; $tw.utils.each(matches, function(m) { - var r,l, - match = m[0].exec(t); + var match = m[0].exec(t); if(match) { matchString = m[1].call(); t = t.substr(match[0].length);