summaryrefslogtreecommitdiffstats
path: root/bower_components/jquery/src/data/accepts.js
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-02-03 19:17:00 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2021-02-03 19:17:00 -0500
commit3a0d66f07b112b6d2bdc2b57bbf717a89a351ce6 (patch)
treea7cf56282e54f05785243bc1e903d6594f2c06ba /bower_components/jquery/src/data/accepts.js
parent787b97a4cb24330b36f11297c6d3a7a473a907d0 (diff)
New upstream version 8.1.2.upstream/8.1.2
Diffstat (limited to 'bower_components/jquery/src/data/accepts.js')
-rw-r--r--bower_components/jquery/src/data/accepts.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/bower_components/jquery/src/data/accepts.js b/bower_components/jquery/src/data/accepts.js
deleted file mode 100644
index 6e0b1b5..0000000
--- a/bower_components/jquery/src/data/accepts.js
+++ /dev/null
@@ -1,21 +0,0 @@
-define([
- "../core"
-], function( jQuery ) {
-
-/**
- * Determines whether an object can have data
- */
-jQuery.acceptData = function( elem ) {
- var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ],
- nodeType = +elem.nodeType || 1;
-
- // Do not set data on non-element DOM nodes because it will not be cleared (#8335).
- return nodeType !== 1 && nodeType !== 9 ?
- false :
-
- // Nodes accept data unless otherwise specified; rejection can be conditional
- !noData || noData !== true && elem.getAttribute("classid") === noData;
-};
-
-return jQuery.acceptData;
-});