diff options
Diffstat (limited to 'src/selector/contains.js')
-rw-r--r-- | src/selector/contains.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/selector/contains.js b/src/selector/contains.js index 0d6273c28..a62b97ab5 100644 --- a/src/selector/contains.js +++ b/src/selector/contains.js @@ -1,8 +1,4 @@ -define( [ - "../core" -], function( jQuery ) { - -"use strict"; +import jQuery from "../core.js"; // Note: an element does not contain itself jQuery.contains = function( a, b ) { @@ -18,5 +14,3 @@ jQuery.contains = function( a, b ) { a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 ) ); }; - -} ); |