diff options
Diffstat (limited to 'src/manipulation/support.js')
-rw-r--r-- | src/manipulation/support.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/manipulation/support.js b/src/manipulation/support.js index ddea2ff98..4f6b9de87 100644 --- a/src/manipulation/support.js +++ b/src/manipulation/support.js @@ -1,9 +1,9 @@ -define([ +define( [ "../var/document", "../var/support" ], function( document, support ) { -(function() { +( function() { var fragment = document.createDocumentFragment(), div = fragment.appendChild( document.createElement( "div" ) ), input = document.createElement( "input" ); @@ -26,8 +26,8 @@ define([ // Make sure textarea (and checkbox) defaultValue is properly cloned div.innerHTML = "<textarea>x</textarea>"; support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; -})(); +} )(); return support; -}); +} ); |