aboutsummaryrefslogtreecommitdiffstats
path: root/src/deprecated.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-04-29 22:04:52 +0200
committerGitHub <noreply@github.com>2019-04-29 22:04:52 +0200
commit58f0c00bed695f934bb205c6115e5fe99dd5c27b (patch)
tree17bd1d5645fcaa3bfb6f7e0f2d08e1a8e423a801 /src/deprecated.js
parent6f2fae7c410dcb5876814866a03fc819f0502290 (diff)
downloadjquery-58f0c00bed695f934bb205c6115e5fe99dd5c27b.tar.gz
jquery-58f0c00bed695f934bb205c6115e5fe99dd5c27b.zip
Core: Remove deprecated jQuery APIs
Fixes gh-4056 Closes gh-4364
Diffstat (limited to 'src/deprecated.js')
-rw-r--r--src/deprecated.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/deprecated.js b/src/deprecated.js
index e24de4818..ecdf9f450 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -71,28 +71,4 @@ jQuery.holdReady = function( hold ) {
jQuery.ready( true );
}
};
-jQuery.isArray = Array.isArray;
-jQuery.parseJSON = JSON.parse;
-jQuery.nodeName = nodeName;
-jQuery.isFunction = isFunction;
-jQuery.isWindow = isWindow;
-jQuery.camelCase = cssCamelCase;
-jQuery.type = toType;
-
-jQuery.now = Date.now;
-
-jQuery.isNumeric = function( obj ) {
-
- // As of jQuery 3.0, isNumeric is limited to
- // strings and numbers (primitives or objects)
- // that can be coerced to finite numbers (gh-2662)
- var type = jQuery.type( obj );
- return ( type === "number" || type === "string" ) &&
-
- // parseFloat NaNs numeric-cast false positives ("")
- // ...but misinterprets leading-number strings, particularly hex literals ("0x...")
- // subtraction forces infinities to NaN
- !isNaN( obj - parseFloat( obj ) );
-};
-
} );