]> source.dussan.org Git - jquery.git/commitdiff
2.0: Remove now shim
authorRick Waldron <waldron.rick@gmail.com>
Mon, 17 Dec 2012 22:06:57 +0000 (17:06 -0500)
committerRick Waldron <waldron.rick@gmail.com>
Wed, 26 Dec 2012 18:34:37 +0000 (13:34 -0500)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
src/core.js

index ea0f438f82bb816a8860807a2000f0e52eae6e60..a116f6c8926c70eccb92e74520696d1f52724ccc 100644 (file)
@@ -775,9 +775,7 @@ jQuery.extend({
                                length ? fn( elems[0], key ) : emptyGet;
        },
 
-       now: function() {
-               return ( new Date() ).getTime();
-       }
+       now: Date.now
 });
 
 jQuery.ready.promise = function( obj ) {