]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Wrapping `native` in quotes so google closure compiler doesn't throw an error.
authorTim Wood <washwithcare@gmail.com>
Sat, 29 Oct 2011 03:13:42 +0000 (20:13 -0700)
committerTim Wood <washwithcare@gmail.com>
Sat, 29 Oct 2011 03:13:42 +0000 (20:13 -0700)
See issue #34

moment.js

index e92398bdda54b94179ab40454ef707f4a4cbf41d..d970fc531aa9d6bc5737a2c001b6f8d9ff35ef36 100644 (file)
--- a/moment.js
+++ b/moment.js
             return +this._d;
         },
 
-        native : function () {
+        'native' : function () {
             return this._d;
         },