Code Review
/
portal.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
nexus site path corrected
[portal.git]
/
ecomp-portal-FE
/
client
/
bower_components
/
jquery
/
src
/
data
/
var
/
acceptData.js
1
define( function() {
2
3
/**
4
* Determines whether an object can have data
5
*/
6
return function( owner ) {
7
8
// Accepts only:
9
// - Node
10
// - Node.ELEMENT_NODE
11
// - Node.DOCUMENT_NODE
12
// - Object
13
// - Any
14
/* jshint -W018 */
15
return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
16
};
17
18
} );