]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Fixed mixin with Underscore. 5/head
authorAndri Möll <andri@dot.ee>
Thu, 16 Jun 2011 18:48:35 +0000 (11:48 -0700)
committerAndri Möll <andri@dot.ee>
Thu, 16 Jun 2011 18:48:35 +0000 (11:48 -0700)
underscore.date.js [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 076a5c6..7118e4b
     // Integrate with Underscore.js
     } else {
         if (this._ !== undefined) {
-            this._.mixin(_date);
+            this._.mixin({date: _date});
         }
         this._date = _date;
     }