From 1f97b6d19c45e7cac773bc02016a6fa4fb43cb98 Mon Sep 17 00:00:00 2001 From: isqua Date: Thu, 29 Jan 2015 14:47:07 +0300 Subject: [PATCH] Remove bquery_ajax --- chrome_point_plus/js/bquery_ajax.js | 113 ---------------------------- chrome_point_plus/manifest.json | 16 ++-- 2 files changed, 7 insertions(+), 122 deletions(-) delete mode 100644 chrome_point_plus/js/bquery_ajax.js diff --git a/chrome_point_plus/js/bquery_ajax.js b/chrome_point_plus/js/bquery_ajax.js deleted file mode 100644 index 72a7603..0000000 --- a/chrome_point_plus/js/bquery_ajax.js +++ /dev/null @@ -1,113 +0,0 @@ -/** - * @deprecated since 1.36.0 - */ -function $ajax_prot(settings){ - if (settings==undefined){return;} - if (settings['url'] ==undefined){return;}this.url=settings['url']; - if (settings['async'] !==undefined){this.async =settings['async'];} - if (settings['type'] !==undefined){this.type =settings['type'];} - if (settings['postdata']!==undefined){this.postdata=settings['postdata'];} - if (settings['dont_set_content_type']!==undefined){ - this.dont_set_content_type=settings['dont_set_content_type']; - } - - this.xhr=new XMLHttpRequest(); - this.xhr.parent =this; - this.xhr.settings=settings; - this.xhr.success =settings['success']; - this.xhr.error =settings['error']; - this.xhr.onreadystatechange=this.change; - this.xhr.open(this.type, this.url, this.async); - if ((this.type=='POST')&& !this.dont_set_content_type){ - this.xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); - } - if (settings.headers!==undefined){ - for (var i=0;i0){ - s+='\\'+text[i]; - }else{ - s+=text[i]; - } - } - return s; -} - -/** - * @deprecated since 1.36.0 - */ -function sad_xml_getnode(node,path){//node as domNode - if ('' ==path){return node;} - if ('#'==path){return node.textContent || node.text;} - - var ri=new RegExp('^([a-z0-9.:_-]*)(\\|[0-9]+)?(/?(.*))?','i'); - var t=path.match(ri); - if (t[1].length<1){return undefined;} - if (t[2]==undefined){t[2]='';} - if (t[4]==undefined){t[4]='';} - - var k=parseInt(t[2].substr(1)); - if (!(k>0)){k=1;} - var r=new RegExp('^'+sad_safe_reg(t[1])+'$'); - for (var i=0;i