Show More
Commit Description:
change to encrypted cookies
Commit Description:
change to encrypted cookies
References:
File last commit:
Show/Diff file:
Action:
node_modules/jquery/src/data/var/acceptData.js
| 19 lines
| 318 B
| application/javascript
| JavascriptLexer
|
r789 | define( function() { | |||
"use strict"; | ||||
/** | ||||
* Determines whether an object can have data | ||||
*/ | ||||
return function( owner ) { | ||||
// Accepts only: | ||||
// - Node | ||||
// - Node.ELEMENT_NODE | ||||
// - Node.DOCUMENT_NODE | ||||
// - Object | ||||
// - Any | ||||
return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); | ||||
}; | ||||
} ); | ||||