From: gregtillbrook Date: Fri, 28 Sep 2012 09:57:53 +0000 (+0100) Subject: remove Date locally scoped varible from iife so mock can be inserted by unit tests etc X-Git-Tag: 2.0.0~69^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F451%2Fhead;p=thirdparty%2Fmoment.git remove Date locally scoped varible from iife so mock can be inserted by unit tests etc --- 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);