diff options
author | Jason Bedard <jason+github@jbedard.ca> | 2018-01-14 00:46:20 -0800 |
---|---|---|
committer | Timmy Willison <4timmywil@gmail.com> | 2018-01-16 10:39:08 -0500 |
commit | 1ea092a54b00aa4d902f4e22ada3854d195d4a18 (patch) | |
tree | 705d445aa449743e06e6354bb3f746076700e31f /src/deprecated.js | |
parent | 91fb18190e5ab9821e3c74b6aecbb5d197c6c5f6 (diff) | |
download | jquery-1ea092a54b00aa4d902f4e22ada3854d195d4a18.tar.gz jquery-1ea092a54b00aa4d902f4e22ada3854d195d4a18.zip |
Core: deprecate jQuery.type
Fixes gh-3605
Close gh-3895
Diffstat (limited to 'src/deprecated.js')
-rw-r--r-- | src/deprecated.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/deprecated.js b/src/deprecated.js index f1b7db7c6..c11b0d332 100644 --- a/src/deprecated.js +++ b/src/deprecated.js @@ -2,12 +2,13 @@ define( [ "./core", "./core/nodeName", "./core/camelCase", + "./core/toType", "./var/isFunction", "./var/isWindow", "./var/slice", "./event/alias" -], function( jQuery, nodeName, camelCase, isFunction, isWindow, slice ) { +], function( jQuery, nodeName, camelCase, toType, isFunction, isWindow, slice ) { "use strict"; @@ -76,6 +77,7 @@ jQuery.nodeName = nodeName; jQuery.isFunction = isFunction; jQuery.isWindow = isWindow; jQuery.camelCase = camelCase; +jQuery.type = toType; jQuery.now = Date.now; |