Home
last modified time | relevance | path

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

1234

/plugin/stellarium/scripts/
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/
Djquery.form.js167 options.success = function(data, status, xhr) { // jQuery 1.4+ passes xhr as 3rd arg argument
170 callbacks[i].apply(context, [data, status, xhr || $form, $form]);
260 s.xhr = function() { function
261 var xhr = jQuery.ajaxSettings.xhr();
262 if (xhr.upload) {
263 xhr.upload.onprogress = function(event) {
273 return xhr;
279 s.beforeSend = function(xhr, o) { argument
282 beforeSend.call(this, xhr, o);
289 var form = $form[0], el, i, s, g, id, $io, io, xhr, sub, n, timedOut, timeoutHandle;
[all …]
/plugin/revealjs/plugin/markdown/
Dmarkdown.js211 function( xhr, url ) { argument
212 section.outerHTML = slidify( xhr.responseText, {
221 function( xhr, url ) { argument
223 'ERROR: The attempt to fetch ' + url + ' failed with HTTP status ' + xhr.status + '.' +
258 var xhr = new XMLHttpRequest(),
265 xhr.overrideMimeType( 'text/html; charset=' + datacharset );
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 );
[all …]
/plugin/freechat/phpfreechat/data/public/js/
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/
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/
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)
147 .fail(function (xhr) { argument
148 $errors.text(xhr.responseText).show();
/plugin/webcode/vendor/
Dfirebug-lite-1.2.js166 …el.nav.xhr = new lib.element("A").attribute.addClass("Tab").update("XHR").event.addListener("click…
294 el.left.xhr = {};
295 …el.left.xhr.container = new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);
297 el.right.xhr = {};
298 …el.right.xhr.container = new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container…
301 el.button.xhr = {};
302 …el.button.xhr.container = new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.but…
303 …el.button.xhr.label = new lib.element("LABEL").update("XHR Path:").insert(el.button.xhr.container);
304 …el.button.xhr.textbox = new lib.element("INPUT").event.addListener("keydown",listen.xhrTextbox).in…
305 …ton.xhr.watch = new lib.element("A").attribute.addClass("Button").event.addListener("click",listen…
[all …]
Dfirebug-lite-1.2-compressed.js14xhr=new lib.element("A").attribute.addClass("Tab").update("XHR").event.addListener("click",lib.uti…
18 …html.inspect.apply(window,arguments);},watchXHR:function(){with(firebug){d.xhr.addObject.apply(win…
25 …eft.dom.container.environment.addStyle({"height":_height-31+"px"});el.left.xhr.container.environme…
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…
[all …]
/plugin/combo/resources/firebug/
H A Dfirebug-lite-1.2-compressed.js25xhr=new lib.element("A").attribute.addClass("Tab").update("XHR").event.addListener("click",lib.uti…
29 …html.inspect.apply(window,arguments);},watchXHR:function(){with(firebug){d.xhr.addObject.apply(win…
36 …eft.dom.container.environment.addStyle({"height":_height-31+"px"});el.left.xhr.container.environme…
79 …source;try{if(uri!=document.location.href){source=internal.cache[uri]||lib.xhr.get(uri).responseTe…
82xhr:{objects:[],addObject:function(){with(firebug){for(var i=0,len=arguments.length;i<len;i++){try…
83 el.left.xhr.readystateContent.child.add(new lib.element("span").update(item[1].readyState));el.left…
84 setTimeout(d.xhr.refresh,500);}}},navigateRightColumn:function(_index,_open){with(firebug){el.left.…
88 break;case"xhr":d.navigateRightColumn(_index);d.xhr.open();break;}}}},getFileName:function(_path){v…
93 …,listen:{addXhrObject:function(){with(firebug){d.xhr.addObject.apply(internal.targetWindow,el.butt…
99 …n(_event){with(firebug){if(_event.keyCode==13){d.xhr.addObject.apply(internal.targetWindow,el.butt…
[all …]
H A Dfirebug-lite-1.2.js177 …el.nav.xhr = new lib.element("A").attribute.addClass("Tab").update("XHR").event.addListener("click…
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.container = new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.but…
314 …el.button.xhr.label = new lib.element("LABEL").update("XHR Path:").insert(el.button.xhr.container);
315 …el.button.xhr.textbox = new lib.element("INPUT").event.addListener("keydown",listen.xhrTextbox).in…
316 …ton.xhr.watch = new lib.element("A").attribute.addClass("Button").event.addListener("click",listen…
[all …]
/plugin/jquery/
Djquery-1.4.2.js4952 xhr: window.XMLHttpRequest && (window.location.protocol !== "file:" || !window.ActiveXObject) ? property
5102 var xhr = s.xhr();
5104 if ( !xhr ) {
5111 xhr.open(type, s.url, s.async, s.username, s.password);
5113 xhr.open(type, s.url, s.async);
5120 xhr.setRequestHeader("Content-Type", s.contentType);
5126 xhr.setRequestHeader("If-Modified-Since", jQuery.lastModified[s.url]);
5130 xhr.setRequestHeader("If-None-Match", jQuery.etag[s.url]);
5137 xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
5141 xhr.setRequestHeader("Accept", s.dataType && s.accepts[ s.dataType ] ?
[all …]
/plugin/diagramsnet/lib/js/
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/
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();
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/
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/
Dsync.js212 var xhr = { variable
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/
Dupload.js21 var xhr = jQuery.ajaxSettings.xhr();
22 xhr.upload.onprogress = function (ev) {
28 return xhr;
/plugin/sequencediagram/bower_components/lodash/vendor/backbone/
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
1457 if (error) error.call(options.context, xhr, textStatus, errorThrown);
1461 var xhr = options.xhr = Backbone.ajax(_.extend(params, options));
[all …]
/plugin/editions/
Dscript.js40 $snippet.load(targetURL+' #'+targetAnchor, function(response, status, xhr) { argument
/plugin/batchedit/
Dserver.js53 error : function (xhr, status, message) { argument
/plugin/jplayer/vendor/happyworm/jplayer/lib/aurora/
Daurora.js3766 this.xhr = new XMLHttpRequest();
3767 this.xhr.onload = (function(_this) {
3769 _this.length = parseInt(_this.xhr.getResponseHeader("Content-Length"));
3774 this.xhr.onerror = (function(_this) {
3780 this.xhr.onabort = (function(_this) {
3785 this.xhr.open("HEAD", this.url, true);
3786 return this.xhr.send(null);
3795 this.xhr = new XMLHttpRequest();
3796 this.xhr.onload = (function(_this) {
3799 if (_this.xhr.response) {
[all …]
/plugin/diagramsnet/lib/js/diagramly/vsdx/
DmxVsdxCanvas2D.js596 var xhr = new XMLHttpRequest();
597 xhr.open('GET', src, true);
598 xhr.responseType = 'arraybuffer';
599 xhr.onreadystatechange = function(e) method
626 xhr.send();

1234