diff options
author | prashantsinalkar | 2019-08-27 12:29:12 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-08-27 12:29:12 +0530 |
commit | b9c709823e26f5b20d3732e1788b871cdd961a03 (patch) | |
tree | a9089f56541854b48ddbda733832a153c6d53927 /static/website/bootstrap-css/bower_components/jquery/src/manipulation | |
parent | 50e8fc0832d81d124abd7606b15502545bf84b23 (diff) | |
download | SciPy2019-b9c709823e26f5b20d3732e1788b871cdd961a03.tar.gz SciPy2019-b9c709823e26f5b20d3732e1788b871cdd961a03.tar.bz2 SciPy2019-b9c709823e26f5b20d3732e1788b871cdd961a03.zip |
added intial code for project
Diffstat (limited to 'static/website/bootstrap-css/bower_components/jquery/src/manipulation')
-rw-r--r-- | static/website/bootstrap-css/bower_components/jquery/src/manipulation/_evalUrl.js | 18 | ||||
-rw-r--r-- | static/website/bootstrap-css/bower_components/jquery/src/manipulation/support.js | 32 |
2 files changed, 50 insertions, 0 deletions
diff --git a/static/website/bootstrap-css/bower_components/jquery/src/manipulation/_evalUrl.js b/static/website/bootstrap-css/bower_components/jquery/src/manipulation/_evalUrl.js new file mode 100644 index 0000000..6704749 --- /dev/null +++ b/static/website/bootstrap-css/bower_components/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/static/website/bootstrap-css/bower_components/jquery/src/manipulation/support.js b/static/website/bootstrap-css/bower_components/jquery/src/manipulation/support.js new file mode 100644 index 0000000..822a014 --- /dev/null +++ b/static/website/bootstrap-css/bower_components/jquery/src/manipulation/support.js @@ -0,0 +1,32 @@ +define([ + "../var/support" +], function( support ) { + +(function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Safari<=5.1 + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Safari<=5.1, Android<4.2 + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<=11+ + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = "<textarea>x</textarea>"; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +})(); + +return support; + +}); |