From: Tim Wood Date: Sat, 29 Oct 2011 03:13:42 +0000 (-0700) Subject: Wrapping `native` in quotes so google closure compiler doesn't throw an error. X-Git-Tag: 1.1.1~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdb39a70f68cbad4cbfb6eb02025157b0f600ae9;p=thirdparty%2Fmoment.git Wrapping `native` in quotes so google closure compiler doesn't throw an error. See issue #34 --- diff --git a/moment.js b/moment.js index e92398bdd..d970fc531 100644 --- a/moment.js +++ b/moment.js @@ -400,7 +400,7 @@ return +this._d; }, - native : function () { + 'native' : function () { return this._d; },