diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-03-14 10:22:09 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-03-26 01:34:31 +0100 |
commit | 2fc5ca4f601174a7ecb7c77a7059f5fac2ab4611 (patch) | |
tree | aa7ab66e29fc7de98533d1e55832ca4fbcd39611 /js/vendor/jquery/src/manipulation | |
parent | 22fc777ce7403d706649cf83bb23010dfd7dea04 (diff) |
update a lot of stuff, WIP
Diffstat (limited to 'js/vendor/jquery/src/manipulation')
-rw-r--r-- | js/vendor/jquery/src/manipulation/_evalUrl.js | 18 | ||||
-rw-r--r-- | js/vendor/jquery/src/manipulation/support.js | 24 | ||||
-rw-r--r-- | js/vendor/jquery/src/manipulation/var/rcheckableType.js | 3 |
3 files changed, 45 insertions, 0 deletions
diff --git a/js/vendor/jquery/src/manipulation/_evalUrl.js b/js/vendor/jquery/src/manipulation/_evalUrl.js new file mode 100644 index 000000000..6704749ae --- /dev/null +++ b/js/vendor/jquery/src/manipulation/_evalUrl.js @@ -0,0 +1,18 @@ +define([ + "../ajax" +], function( jQuery ) { + +jQuery._evalUrl = function( url ) { + return jQuery.ajax({ + url: url, + type: "GET", + dataType: "script", + async: false, + global: false, + "throws": true + }); +}; + +return jQuery._evalUrl; + +}); diff --git a/js/vendor/jquery/src/manipulation/support.js b/js/vendor/jquery/src/manipulation/support.js new file mode 100644 index 000000000..e2ba066ec --- /dev/null +++ b/js/vendor/jquery/src/manipulation/support.js @@ -0,0 +1,24 @@ +define([ + "../var/support" +], function( support ) { + +(function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ); + + // #11217 - WebKit loses check when the name is after the checked attribute + div.innerHTML = "<input type='radio' checked='checked' name='t'/>"; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE9-IE11+ + div.innerHTML = "<textarea>x</textarea>"; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +})(); + +return support; + +}); diff --git a/js/vendor/jquery/src/manipulation/var/rcheckableType.js b/js/vendor/jquery/src/manipulation/var/rcheckableType.js new file mode 100644 index 000000000..c27a15dc4 --- /dev/null +++ b/js/vendor/jquery/src/manipulation/var/rcheckableType.js @@ -0,0 +1,3 @@ +define(function() { + return (/^(?:checkbox|radio)$/i); +}); |