Home
last modified time | relevance | path

Searched refs:xhr (Results 1 – 25 of 74) sorted by relevance

123

/plugin/stellarium/scripts/
H A Dstellarium.js7 var xhr = new XMLHttpRequest();
8 xhr.open('POST', url);
9 xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
11 xhr.setRequestHeader('Authorization', 'Basic ' + btoa(':' + password));
14 xhr.onerror = function(e) {
17 xhr.onload = function() {
18 switch (xhr.status) {
20 var response = xhr.responseText;
38 xhr.send(formBody);
/plugin/confmanager/
H A Djquery.form.js261 var xhr = jQuery.ajaxSettings.xhr();
273 return xhr;
330 xhr = { // mock object class in $.fn.ajaxSubmit
376 if (xhr.aborted) {
572 xhr.status = Number( docRoot.getAttribute('status') ) || xhr.status;
584 xhr.status = Number( ta.getAttribute('status') ) || xhr.status;
599 else if (dt == 'xml' && !xhr.responseXML && xhr.responseText) {
600 xhr.responseXML = toXml(xhr.responseText);
623 … status = (xhr.status >= 200 && xhr.status < 300 || xhr.status === 304) ? 'success' : 'error';
630 deferred.resolve(xhr.responseText, 'success', xhr);
[all …]
/plugin/revealjs/plugin/markdown/
H A Dmarkdown.js211 function( xhr, url ) { argument
221 function( xhr, url ) { argument
268 xhr.onreadystatechange = function( section, xhr ) { argument
269 if( xhr.readyState === 4 ) {
271 if ( ( xhr.status >= 200 && xhr.status < 300 ) || xhr.status === 0 ) {
273 resolve( xhr, url );
278 reject( xhr, url );
282 }.bind( this, section, xhr );
284 xhr.open( 'GET', url, true );
287 xhr.send();
[all …]
/plugin/freechat/phpfreechat/data/public/js/
H A Dcompat.js74 var xhr = null;
76 xhr=new ActiveXObject("Msxml2.XMLHTTP");
79 xhr=new ActiveXObject("Microsoft.XMLHTTP");
82 xhr=new ActiveXObject("Msxml2.XMLHTTP.4.0");
84 xhr=null;
88 if (xhr == null)
/plugin/diagramsnet/lib/plugins/
H A Dtickets.js117 var xhr = new XMLHttpRequest();
118 xhr.open('GET', deskDomain + '/api/v2/tickets/' + id);
119 xhr.setRequestHeader('Authorization', 'Basic ' + btoa(deskApiKey + ':x'));
121 xhr.onload = function ()
123 if (xhr.status >= 200 && xhr.status <= 299)
125 fn(JSON.parse(xhr.responseText), xhr);
129 fn(null, xhr);
133 xhr.onerror = function ()
135 fn(null, xhr);
138 xhr.send();
/plugin/tagging/script/
H A Dadmin.js38 .fail(jQuery.proxy(function(xhr) { argument
39 var msg = typeof xhr === 'string' ? xhr : xhr.responseText || xhr.statusText || 'Unknown error';
H A Deditable.js216 .fail($.proxy(function(xhr) { argument
219 var msg = typeof xhr === 'string' ? xhr : xhr.responseText || xhr.statusText || 'Unknown error';
/plugin/shell/
H A DP0wnyShell.js376 const xhr = new XMLHttpRequest();
377 xhr.open("POST", this.backend + url, true);
378 xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
379 xhr.onreadystatechange = function () {
380 if (xhr.readyState === 4 && xhr.status === 200) {
382 const responseJson = JSON.parse(xhr.responseText);
389 xhr.send(getQueryString());
/plugin/struct/script/
H A DAggregationEditor.js65 .fail(function (xhr) { argument
66 alert(xhr.responseText)
128 .fail(function (xhr) { argument
129 $errors.text(xhr.responseText).show();
/plugin/webcode/vendor/
H A Dfirebug-lite-1.2.js294 el.left.xhr = {};
297 el.right.xhr = {};
301 el.button.xhr = {};
1596 xhr:{
1616 el.left.xhr.nameContent = new lib.element("DIV").insert(el.left.xhr.name);
1621 …el.left.xhr.readystateTitle =el.left.xhr.nameTitle = new lib.element("STRONG").update("Ready State…
1708 d.xhr.open();
2455 pi.xhr = new pi.base; variable in pi
2475 pi.xhr.body = {
2525 pi.xhr.body.event = {
[all …]
H A Dfirebug-lite-1.2-compressed.js14xhr=new lib.element("A").attribute.addClass("Tab").update("XHR").event.addListener("click",lib.uti…
68 …source;try{if(uri!=document.location.href){source=internal.cache[uri]||lib.xhr.get(uri).responseTe…
71xhr:{objects:[],addObject:function(){with(firebug){for(var i=0,len=arguments.length;i<len;i++){try…
72 el.left.xhr.readystateContent.child.add(new lib.element("span").update(item[1].readyState));el.left…
73 setTimeout(d.xhr.refresh,500);}}},navigateRightColumn:function(_index,_open){with(firebug){el.left.…
77 break;case"xhr":d.navigateRightColumn(_index);d.xhr.open();break;}}}},getFileName:function(_path){v…
82 …,listen:{addXhrObject:function(){with(firebug){d.xhr.addObject.apply(internal.targetWindow,el.butt…
88 …n(_event){with(firebug){if(_event.keyCode==13){d.xhr.addObject.apply(internal.targetWindow,el.butt…
117 …pture);return this._parent_;}}};pi.element=pi.element.build();pi.xhr=new pi.base;pi.xhr.init=funct… variable in pi
119 …environment.setUrl(_url);this.environment.setCallback([]);return this;};pi.xhr.body={"addCallback"…
[all …]
/plugin/combo/resources/firebug/
H A Dfirebug-lite-1.2-compressed.js25 el.nav.dom=new lib.element("A").attribute.addClass("Tab").update("DOM").event.addListener("click",lib.util.Curry(d.navigate,internal.targetWindow,"dom")).insert(el.nav.container);el.nav.xhr=new lib.element("A").attribute.addClass("Tab").update("XHR").event.addListener("click",lib.util.Curry(d.navigate,window,"xhr")).insert(el.nav.container);el.nav.optionsdiv=new lib.element("DIV").attribute.addClass("Settings").insert(el.nav.container);el.nav.options=new lib.element("A").attribute.addClass("Tab Button Options").update("Options&nbsp;&nbsp;&nbsp;&nbsp;").event.addListener("click",settings.toggle).insert(el.nav.optionsdiv);el.borderInspector=new lib.element("DIV").attribute.set("id","FirebugBorderInspector").attribute.set('firebugIgnore',true).event.addListener("click",listen.inspector).insert(document.body);el.bgInspector=new lib.element("DIV").attribute.set("id","FirebugBGInspector").attribute.set('firebugIgnore',true).insert(document.body);el.left.console={};el.left.console.container=new lib.element("DIV").attribute.addClass("Console").insert(el.left.container);el.left.console.mlButton=new lib.element("A").attribute.addClass("MLButton").event.addListener("click",d.console.toggleML).insert(el.left.console.container);el.left.console.monitor=new lib.element("DIV").insert(new lib.element("DIV").attribute.addClass("Monitor").insert(el.left.console.container));el.left.console.container.child.add(new lib.element("DIV").attribute.addClass("InputArrow").update(">>>"));el.left.console.input=new lib.element("INPUT").attribute.set("type","text").attribute.addClass("Input").event.addListener("keydown",listen.consoleTextbox).insert(new lib.element("DIV").attribute.addClass("InputContainer").insert(el.left.console.container));el.right.console={};el.right.console.container=new lib.element("DIV").attribute.addClass("Console Container").insert(el.right.container);el.right.console.mlButton=new lib.element("A").attribute.addClass("MLButton CloseML").event.addListener("click",d.console.toggleML).insert(el.right.console.container);el.right.console.input=new lib.element("TEXTAREA").attribute.addClass("Input").insert(el.right.console.container);el.right.console.input.event.addListener("keydown",lib.util.Curry(tab,window,el.right.console.input.element));el.right.console.run=new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.runMultiline).update("Run").insert(el.right.console.container);el.right.console.clear=new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.clean,window,el.right.console.input)).update("Clear").insert(el.right.console.container);el.button.console={};el.button.console.container=new lib.element("DIV").attribute.addClass("ButtonSet").insert(el.button.container);el.button.console.clear=new lib.element("A").attribute.addClass("Button").event.addListener("click",d.console.clear).update("Clear").insert(el.button.console.container);el.left.html={};el.left.html.container=new lib.element("DIV").attribute.addClass("HTML").insert(el.left.container);el.right.html={};el.right.html.container=new lib.element("DIV").attribute.addClass("HTML Container").insert(el.right.container);el.right.html.nav={};el.right.html.nav.container=new lib.element("DIV").attribute.addClass("Nav").insert(el.right.html.container);el.right.html.nav.computedStyle=new lib.element("A").attribute.addClass("Tab Selected").event.addListener("click",lib.util.Curry(d.html.navigate,firebug,"computedStyle")).update("Computed Style").insert(el.right.html.nav.container);el.right.html.nav.dom=new lib.element("A").attribute.addClass("Tab").event.addListener("click",lib.util.Curry(d.html.navigate,firebug,"dom")).update("DOM").insert(el.right.html.nav.container);el.right.html.content=new lib.element("DIV").attribute.addClass("Content").insert(el.right.html.container);el.button.html={};el.button.html.container=new lib.element("DIV").attribute.addClass("ButtonSet HTML").insert(el.button.container);el.left.css={};el.left.css.container=new lib.element("DIV").attribute.addClass("CSS").insert(el.left.container);el.right.css={};el.right.css.container=new lib.element("DIV").attribute.addClass("CSS Container").insert(el.right.container);el.right.css.nav={};el.right.css.nav.container=new lib.element("DIV").attribute.addClass("Nav").insert(el.right.css.container);el.right.css.nav.runCSS=new lib.element("A").attribute.addClass("Tab Selected").update("Run CSS").insert(el.right.css.nav.container);el.right.css.mlButton=new lib.element("A").attribute.addClass("MLButton CloseML").event.addListener("click",d.console.toggleML).insert(el.right.css.container);el.right.css.input=new lib.element("TEXTAREA").attribute.addClass("Input").insert(el.right.css.container);el.right.css.input.event.addListener("keydown",lib.util.Curry(firebug.tab,window,el.right.css.input.element));el.right.css.run=new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.runCSS).update("Run").insert(el.right.css.container);el.right.css.clear=new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.clean,window,el.right.css.input)).update("Clear").insert(el.right.css.container);el.button.css={};el.button.css.container=new lib.element("DIV").attribute.addClass("ButtonSet CSS").insert(el.button.container);el.button.css.selectbox=new lib.element("SELECT").event.addListener("change",listen.cssSelectbox).insert(el.button.css.container);el.left.scripts={};el.left.scripts.container=new lib.element("DIV").attribute.addClass("Scripts").insert(el.left.container);el.right.scripts={};el.right.scripts.container=new lib.element("DIV").attribute.addClass("Scripts Container").insert(el.right.container);el.button.scripts={};el.button.scripts.container=new lib.element("DIV").attribute.addClass("ButtonSet Scripts").insert(el.button.container);el.button.scripts.selectbox=new lib.element("SELECT").event.addListener("change",listen.scriptsSelectbox).insert(el.button.scripts.container);el.button.scripts.lineNumbers=new lib.element("A").attribute.addClass("Button").event.addListener("click",d.scripts.toggleLineNumbers).update("Show Line Numbers").insert(el.button.scripts.container);el.left.dom={};el.left.dom.container=new lib.element("DIV").attribute.addClass("DOM").insert(el.left.container);el.right.dom={};el.right.dom.container=new lib.element("DIV").attribute.addClass("DOM Container").insert(el.right.container);el.button.dom={};el.button.dom.container=new lib.element("DIV").attribute.addClass("ButtonSet DOM").insert(el.button.container);el.button.dom.label=new lib.element("LABEL").update("Object Path:").insert(el.button.dom.container);el.button.dom.textbox=new lib.element("INPUT").event.addListener("keydown",listen.domTextbox).update(internal.isPopup?"window.opener":"window").insert(el.button.dom.container);el.left.str={};el.left.str.container=new lib.element("DIV").attribute.addClass("STR").insert(el.left.container);el.right.str={};el.right.str.container=new lib.element("DIV").attribute.addClass("STR").insert(el.left.container);el.button.str={};el.button.str.container=new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.button.container);el.button.str.watch=new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.navigate,window,"xhr")).update("Back").insert(el.button.str.container);el.left.xhr={};el.left.xhr.container=new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);el.right.xhr={};el.right.xhr.container=new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);el.button.xhr={};el.button.xhr.container=new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.button.container);el.button.xhr
128 return this._parent_;},"addAfter":function(_element,_referenceElement){this.addBefore(_element.environment?_element.environment.getElement():_element,(_referenceElement.environment global() variable in pi
133 url+=(url.search("\\?")==-1?"?":"&")+pi.util.String.format("{0}",dataUrl);this.api.open(this.environment.getType(),url,this.environment.getAsync());if(this.environment.getType()= global() function
[all...]
H A Dfirebug-lite-1.2.js177 el.nav.xhr = new lib.element("A").attribute.addClass("Tab").update("XHR").event.addListener("click",lib.util.Curry(d.navigate,window,"xhr")).insert(el.nav.container);
300 el.button.str.watch = new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.navigate,window,"xhr")).update("Back").insert(el.button.str.container);
303 * xhr
305 el.left.xhr = {};
306 el.left.xhr.container = new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);
308 el.right.xhr = {};
309 el.right.xhr.container = new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);
312 el.button.xhr = {};
313 el.button.xhr
2466 pi.xhr = new pi.base; global() variable in pi
2552 pi.xhr.get = function(_url,_returnPiObject){ global() function
[all...]
/plugin/jquery/
H A Djquery-1.4.2.js5102 var xhr = s.xhr();
5104 if ( !xhr ) {
5154 xhr.abort();
5173 if ( xhr ) {
5222 xhr = null;
5232 if ( xhr ) {
5298 return xhr;
5322 ( xhr.status >= 200 && xhr.status < 300 ) ||
5323 xhr.status === 304 || xhr.status === 1223 || xhr.status === 0;
5343 return xhr.status === 304 || xhr.status === 0;
[all …]
/plugin/diagramsnet/lib/js/
H A Dembed.dev.js490 var xhr = (navigator.userAgent != null && navigator.userAgent.indexOf('MSIE 9') > 0) ?
492 xhr.open('GET', url);
494 xhr.onload = mxUtils.bind(this, function()
503 var data = (xhr.getText != null) ? xhr.getText() : xhr.responseText;
601 xhr.onerror = function()
606 xhr.send();
/plugin/diagramsnet/lib/js/diagramly/
H A DEmbed.js490 var xhr = (navigator.userAgent != null && navigator.userAgent.indexOf('MSIE 9') > 0) ?
492 xhr.open('GET', url);
494 xhr.onload = mxUtils.bind(this, function()
503 var data = (xhr.getText != null) ? xhr.getText() : xhr.responseText;
601 xhr.onerror = function()
606 xhr.send();
H A DElectronApp.js388 …i.parseFile(new Blob([data], {type : 'application/octet-stream'}), mxUtils.bind(this, function(xhr) argument
390 if (xhr.readyState == 4)
394 if (xhr.status >= 200 && xhr.status <= 299)
396 graph.setSelectionCells(editorUi.importXml(xhr.responseText));
1854 var xhr = fn(null, '1');
1856 if (xhr != null && this.spinner.spin(document.body, mxResources.get('saving')))
1858 xhr.send(mxUtils.bind(this, function()
1862 if (xhr.getStatus() >= 200 && xhr.getStatus() <= 299)
1864 this.saveData(filename, format, xhr.getText(), mimeType, true);
/plugin/diagramsnet/lib/js/dropbox/
H A DDropbox-sdk.min.js9xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr
/plugin/sequencediagram/bower_components/lodash/vendor/backbone/test/
H A Dsync.js212 var xhr = { class in AnonymousFunction6f6ad14f1600
220 assert.ok(_xhr === xhr);
224 assert.strictEqual(this.ajaxSettings.beforeSend(xhr), false);
231 model.on('error', function(m, xhr, options) { argument
/plugin/dropfiles/src/
H A Dupload.js21 var xhr = jQuery.ajaxSettings.xhr();
22 xhr.upload.onprogress = function (ev) {
28 return xhr;
/plugin/sequencediagram/bower_components/lodash/vendor/backbone/
H A Dbackbone.js655 var xhr = this.sync(method, this, options);
660 return xhr;
683 var xhr = false;
688 xhr = this.sync('delete', this, options);
691 return xhr;
1441 options.beforeSend = function(xhr) { argument
1442 xhr.setRequestHeader('X-HTTP-Method-Override', type);
1454 options.error = function(xhr, textStatus, errorThrown) { argument
1461 var xhr = options.xhr = Backbone.ajax(_.extend(params, options));
1462 model.trigger('request', model, xhr, options);
[all …]
/plugin/editions/
H A Dscript.js40 $snippet.load(targetURL+' #'+targetAnchor, function(response, status, xhr) { argument
/plugin/batchedit/
H A Dserver.js53 error : function (xhr, status, message) { argument
/plugin/imgpaste/
H A Dscript.js67 error: function (xhr, status, error) { argument
/plugin/jplayer/vendor/happyworm/jplayer/lib/aurora/
H A Daurora.js3766 this.xhr = new XMLHttpRequest();
3767 this.xhr.onload = (function(_this) { method
3774 this.xhr.onerror = (function(_this) { method
3780 this.xhr.onabort = (function(_this) { method
3786 return this.xhr.send(null);
3795 this.xhr = new XMLHttpRequest();
3796 this.xhr.onload = (function(_this) { method
3799 if (_this.xhr.response) {
3802 txt = _this.xhr.responseText;
3825 this.xhr.onerror = (function(_this) { method
[all …]

123