From 48ac6c3eb3205851ee2424c0e0c72ae11bd44fe3 Mon Sep 17 00:00:00 2001 From: gregtillbrook Date: Fri, 28 Sep 2012 10:57:53 +0100 Subject: [PATCH] remove Date locally scoped varible from iife so mock can be inserted by unit tests etc --- moment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moment.js b/moment.js index 8f63a2d04..421eaa596 100644 --- a/moment.js +++ b/moment.js @@ -4,7 +4,7 @@ // license : MIT // momentjs.com -(function (Date, undefined) { +(function (undefined) { /************************************ Constants @@ -1174,4 +1174,4 @@ return moment; }); } -}).call(this, Date); +}).call(this); -- 2.47.2