From 6887a0f57307820b097b51aee952c555bcf69024 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 20 Jan 2017 12:29:59 -0500 Subject: lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1 The itemNode and expandoNode elements have changed from img to span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our tree icons inside them rather than replacing them. Signed-off-by: Anders Kaseorg --- lib/dojo/request/default.js | 4 ++-- lib/dojo/request/handlers.js | 4 ++-- lib/dojo/request/iframe.js | 4 ++-- lib/dojo/request/node.js | 4 ++-- lib/dojo/request/notify.js | 2 +- lib/dojo/request/registry.js | 2 +- lib/dojo/request/script.js | 4 ++-- lib/dojo/request/util.js | 4 ++-- lib/dojo/request/watch.js | 2 +- lib/dojo/request/xhr.js | 4 ++-- 10 files changed, 17 insertions(+), 17 deletions(-) (limited to 'lib/dojo/request') diff --git a/lib/dojo/request/default.js b/lib/dojo/request/default.js index ee379608a..ed25cc03b 100644 --- a/lib/dojo/request/default.js +++ b/lib/dojo/request/default.js @@ -1,8 +1,8 @@ /* - Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved. + Copyright (c) 2004-2016, The JS Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built -define("dojo/request/default",["exports","require","../has"],function(_1,_2,_3){var _4=_3("config-requestProvider"),_5;if(1){_5="./xhr";}else{if(0){_5="./node";}}if(!_4){_4=_5;}_1.getPlatformDefaultId=function(){return _5;};_1.load=function(id,_6,_7,_8){_2([id=="platform"?_5:_4],function(_9){_7(_9);});};}); \ No newline at end of file +define("dojo/request/default",["exports","require","../has"],function(_1,_2,_3){var _4=_3("config-requestProvider"),_5;if(1||_3("host-webworker")){_5="./xhr";}else{if(0){_5="./node";}}if(!_4){_4=_5;}_1.getPlatformDefaultId=function(){return _5;};_1.load=function(id,_6,_7,_8){_2([id=="platform"?_5:_4],function(_9){_7(_9);});};}); \ No newline at end of file diff --git a/lib/dojo/request/handlers.js b/lib/dojo/request/handlers.js index 6718c461b..30e675987 100644 --- a/lib/dojo/request/handlers.js +++ b/lib/dojo/request/handlers.js @@ -1,8 +1,8 @@ /* - Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved. + Copyright (c) 2004-2016, The JS Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built -define("dojo/request/handlers",["../json","../_base/kernel","../_base/array","../has"],function(_1,_2,_3,_4){_4.add("activex",typeof ActiveXObject!=="undefined");var _5;if(_4("activex")){var dp=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];_5=function(_6){var _7=_6.data;if(!_7||!_7.documentElement){var _8=_6.text;_3.some(dp,function(p){try{var _9=new ActiveXObject(p);_9.async=false;_9.loadXML(_8);_7=_9;}catch(e){return false;}return true;});}return _7;};}var _a={"javascript":function(_b){return _2.eval(_b.text||"");},"json":function(_c){return _1.parse(_c.text||null);},"xml":_5};function _d(_e){var _f=_a[_e.options.handleAs];_e.data=_f?_f(_e):(_e.data||_e.text);return _e;};_d.register=function(_10,_11){_a[_10]=_11;};return _d;}); \ No newline at end of file +define("dojo/request/handlers",["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],function(_1,_2,_3,_4){_4.add("activex",typeof ActiveXObject!=="undefined");_4.add("dom-parser",function(_5){return "DOMParser" in _5;});var _6;if(_4("activex")){var dp=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];var _7;_6=function(_8){var _9=_8.data;var _a=_8.text;if(_9&&_4("dom-qsa2.1")&&!_9.querySelectorAll&&_4("dom-parser")){_9=new DOMParser().parseFromString(_a,"application/xml");}function _b(p){try{var _c=new ActiveXObject(p);_c.async=false;_c.loadXML(_a);_9=_c;_7=p;}catch(e){return false;}return true;};if(!_9||!_9.documentElement){if(!_7||!_b(_7)){_3.some(dp,_b);}}return _9;};}var _d=function(_e){if(!_4("native-xhr2-blob")&&_e.options.handleAs==="blob"&&typeof Blob!=="undefined"){return new Blob([_e.xhr.response],{type:_e.xhr.getResponseHeader("Content-Type")});}return _e.xhr.response;};var _f={"javascript":function(_10){return _2.eval(_10.text||"");},"json":function(_11){return _1.parse(_11.text||null);},"xml":_6,"blob":_d,"arraybuffer":_d,"document":_d};function _12(_13){var _14=_f[_13.options.handleAs];_13.data=_14?_14(_13):(_13.data||_13.text);return _13;};_12.register=function(_15,_16){_f[_15]=_16;};return _12;}); \ No newline at end of file diff --git a/lib/dojo/request/iframe.js b/lib/dojo/request/iframe.js index 875b311c4..8248cbe37 100644 --- a/lib/dojo/request/iframe.js +++ b/lib/dojo/request/iframe.js @@ -1,8 +1,8 @@ /* - Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved. + Copyright (c) 2004-2016, The JS Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built -define("dojo/request/iframe",["module","require","./watch","./util","./handlers","../_base/lang","../io-query","../query","../has","../dom","../dom-construct","../_base/window"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c){var _d=_1.id.replace(/[\/\.\-]/g,"_"),_e=_d+"_onload";if(!_c.global[_e]){_c.global[_e]=function(){var _f=_10._currentDfd;if(!_f){_10._fireNextRequest();return;}var _11=_f.response,_12=_11.options,_13=_a.byId(_12.form)||_f._tmpForm;if(_13){var _14=_f._contentToClean;for(var i=0;i<_14.length;i++){var key=_14[i];for(var j=0;j<_13.childNodes.length;j++){var _15=_13.childNodes[j];if(_15.name===key){_b.destroy(_15);break;}}}_f._originalAction&&_13.setAttribute("action",_f._originalAction);if(_f._originalMethod){_13.setAttribute("method",_f._originalMethod);_13.method=_f._originalMethod;}if(_f._originalTarget){_13.setAttribute("target",_f._originalTarget);_13.target=_f._originalTarget;}}if(_f._tmpForm){_b.destroy(_f._tmpForm);delete _f._tmpForm;}_f._finished=true;};}function _16(_17,_18,uri){if(_c.global[_17]){return _c.global[_17];}if(_c.global.frames[_17]){return _c.global.frames[_17];}if(!uri){if(_9("config-useXDomain")&&!_9("config-dojoBlankHtmlUrl")){console.warn("dojo/request/iframe: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set dojoConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html");}uri=(_9("config-dojoBlankHtmlUrl")||_2.toUrl("dojo/resources/blank.html"));}var _19=_b.place("