diff options
Diffstat (limited to 'src/core/support.js')
-rw-r--r-- | src/core/support.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/support.js b/src/core/support.js index 68d20e353..0609a700b 100644 --- a/src/core/support.js +++ b/src/core/support.js @@ -1,4 +1,4 @@ -define([ +define( [ "../var/document", "../var/support" ], function( document, support ) { @@ -8,11 +8,11 @@ define([ // collapse sibling forms: the second one becomes a child of the first one. // Because of that, this security measure has to be disabled in Safari 8. // https://bugs.webkit.org/show_bug.cgi?id=137337 -support.createHTMLDocument = (function() { +support.createHTMLDocument = ( function() { var body = document.implementation.createHTMLDocument( "" ).body; body.innerHTML = "<form></form><form></form>"; return body.childNodes.length === 2; -})(); +} )(); return support; -}); +} ); |