aboutsummaryrefslogtreecommitdiffstats
path: root/src/data/var/acceptData.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/var/acceptData.js')
-rw-r--r--src/data/var/acceptData.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/data/var/acceptData.js b/src/data/var/acceptData.js
index e00f7538b..4fc47b30a 100644
--- a/src/data/var/acceptData.js
+++ b/src/data/var/acceptData.js
@@ -1,11 +1,7 @@
-define( function() {
-
-"use strict";
-
/**
* Determines whether an object can have data
*/
-return function( owner ) {
+export default function( owner ) {
// Accepts only:
// - Node
@@ -15,5 +11,3 @@ return function( owner ) {
// - Any
return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
};
-
-} );