update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
9abe039dc8
commit
47263617c5
1 changed files with 418860 additions and 226988 deletions
21
www/analytics/libs/bower_components/jquery/src/data/accepts.js
vendored
Normal file
21
www/analytics/libs/bower_components/jquery/src/data/accepts.js
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
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;
|
||||
});
|
||||
Loading…
Reference in a new issue