]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
remove Date locally scoped varible from iife so mock can be inserted by unit tests etc 451/head
authorgregtillbrook <nospam@tillbrook.com>
Fri, 28 Sep 2012 09:57:53 +0000 (10:57 +0100)
committergregtillbrook <nospam@tillbrook.com>
Fri, 28 Sep 2012 09:57:53 +0000 (10:57 +0100)
moment.js

index 8f63a2d041e59eb406a6c5749afbe50b09c82aa4..421eaa596fb6fc01c80f11115b288712f39ccfe6 100644 (file)
--- a/moment.js
+++ b/moment.js
@@ -4,7 +4,7 @@
 // license : MIT
 // momentjs.com
 
-(function (Date, undefined) {
+(function (undefined) {
 
     /************************************
         Constants
             return moment;
         });
     }
-}).call(this, Date);
+}).call(this);