diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-23 12:50:15 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-23 12:50:15 +0100 |
commit | f88f8fcb7f7451babc8aa20ecc0dad06dd27e1ed (patch) | |
tree | cb53495565d3a5757b6efc44c179b6d95b244721 /js/vendor/jquery/src/manipulation.js | |
parent | 367a4eed30e9fa77a2aa5d7924f041e967f8567d (diff) |
update jasmine, karma and angular
Diffstat (limited to 'js/vendor/jquery/src/manipulation.js')
-rw-r--r-- | js/vendor/jquery/src/manipulation.js | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/js/vendor/jquery/src/manipulation.js b/js/vendor/jquery/src/manipulation.js index 31d0c4edc..c62796264 100644 --- a/js/vendor/jquery/src/manipulation.js +++ b/js/vendor/jquery/src/manipulation.js @@ -29,7 +29,7 @@ var // We have to close these tags to support XHTML (#13200) wrapMap = { - // Support: IE 9 + // Support: IE9 option: [ 1, "<select multiple='multiple'>", "</select>" ], thead: [ 1, "<table>", "</table>" ], @@ -40,7 +40,7 @@ var _default: [ 0, "", "" ] }; -// Support: IE 9 +// Support: IE9 wrapMap.optgroup = wrapMap.option; wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; @@ -130,7 +130,7 @@ function getAll( context, tag ) { ret; } -// Support: IE >= 9 +// Fix IE bugs, see support tests function fixInput( src, dest ) { var nodeName = dest.nodeName.toLowerCase(); @@ -150,8 +150,7 @@ jQuery.extend({ clone = elem.cloneNode( true ), inPage = jQuery.contains( elem.ownerDocument, elem ); - // Support: IE >= 9 - // Fix Cloning issues + // Fix IE cloning issues if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && !jQuery.isXMLDoc( elem ) ) { @@ -202,8 +201,8 @@ jQuery.extend({ // Add nodes directly if ( jQuery.type( elem ) === "object" ) { - // Support: QtWebKit - // jQuery.merge because push.apply(_, arraylike) throws + // Support: QtWebKit, PhantomJS + // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); // Convert non-html into a text node @@ -225,15 +224,14 @@ jQuery.extend({ tmp = tmp.lastChild; } - // Support: QtWebKit - // jQuery.merge because push.apply(_, arraylike) throws + // Support: QtWebKit, PhantomJS + // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( nodes, tmp.childNodes ); // Remember the top-level container tmp = fragment.firstChild; - // Fixes #12346 - // Support: Webkit, IE + // Ensure the created nodes are orphaned (#12392) tmp.textContent = ""; } } |