aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorTimmy Willison <4timmywil@gmail.com>2017-12-11 12:39:11 -0500
committerTimmy Willison <4timmywil@gmail.com>2018-01-08 11:24:45 -0500
commit909e0c99251ee56ec35db0e08d5b1e6219ac8fbc (patch)
treea09f8f80f9d0849086717c6f9e9b2d3e7145dec6 /src/event.js
parent775caebd617e91e697b3e41ae33d6877e63785aa (diff)
downloadjquery-909e0c99251ee56ec35db0e08d5b1e6219ac8fbc.tar.gz
jquery-909e0c99251ee56ec35db0e08d5b1e6219ac8fbc.zip
Core: deprecate jQuery.now
Fixes gh-2959 Close gh-3884
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index 071deb645..b10c43f8d 100644
--- a/src/event.js
+++ b/src/event.js
@@ -553,7 +553,7 @@ jQuery.Event = function( src, props ) {
}
// Create a timestamp if incoming event doesn't have one
- this.timeStamp = src && src.timeStamp || jQuery.now();
+ this.timeStamp = src && src.timeStamp || Date.now();
// Mark it as fixed
this[ jQuery.expando ] = true;