From 35bdf754088f65fba7aa7a2fec9726b373674570 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Fri, 16 Nov 2012 14:02:25 -0500 Subject: [PATCH] Fix fix for bug --- docs/symbols/src/kis-js_src_modules_ajax.js.html | 10 +++++----- kis-all.js | 8 ++++---- kis-lite-dom-min.js | 2 +- kis-lite-dom.js | 8 ++++---- kis-lite-min.js | 2 +- kis-lite.js | 8 ++++---- kis-min.js | 2 +- src/modules/ajax.js | 8 ++++---- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/symbols/src/kis-js_src_modules_ajax.js.html b/docs/symbols/src/kis-js_src_modules_ajax.js.html index 527ea5b..3890122 100755 --- a/docs/symbols/src/kis-js_src_modules_ajax.js.html +++ b/docs/symbols/src/kis-js_src_modules_ajax.js.html @@ -35,12 +35,12 @@ 28 } 29 30 type = (isPost) ? "POST" : "GET"; - 31 - 32 if (type === "GET") + 31 + 32 if (type === "GET") 33 { - 34 url += ( ! url.match('?')) - 35 ? "?" + this._serialize(data) - 36 : this._serialize(data); + 34 url += (url.match(/\?/)) + 35 ? this._serialize(data) + 36 : "?" + this._serialize(data); 37 } 38 39 request.open(type, url); diff --git a/kis-all.js b/kis-all.js index dc94456..3733220 100755 --- a/kis-all.js +++ b/kis-all.js @@ -818,12 +818,12 @@ if (typeof document !== "undefined" && !("classList" in document.createElement(" } type = (isPost) ? "POST" : "GET"; - + if (type === "GET") { - url += ( ! url.match('?')) - ? "?" + this._serialize(data) - : this._serialize(data); + url += (url.match(/\?/)) + ? this._serialize(data) + : "?" + this._serialize(data); } request.open(type, url); diff --git a/kis-lite-dom-min.js b/kis-lite-dom-min.js index c228c25..758a12a 100755 --- a/kis-lite-dom-min.js +++ b/kis-lite-dom-min.js @@ -1,7 +1,7 @@ (function(){if("undefined"!==typeof document.querySelector){var d,f,a,b;d=function(c){b="undefined"===typeof c?"undefined"!==typeof d.el?d.el:document.documentElement:f(c);d.prototype.el=b;var c=a(d),g;for(g in c)"object"===typeof c[g]&&(c[g].el=b);c.el=b;return c};f=function(c,b){var a;if("string"!=typeof c||"undefined"===typeof c)return c;a=null!=b&&1===b.nodeType?b:document;if(c.match(/^#([\w\-]+$)/))return document.getElementById(c.split("#")[1]);a=a.querySelectorAll(c);return 1===a.length?a[0]: a};a=function(a){var b;if("undefined"!==typeof a){if("undefined"!==typeof Object.create)return Object.create(a);b=typeof a;if(!("object"!==b&&"function"!==b))return b=function(){},b.prototype=a,new b}};d.ext=function(a,g){g.el=b;d[a]=g};d.ext("each",function(a){if("undefined"!==typeof b.length&&b!==window)if("undefined"!==typeof Array.prototype.forEach)[].forEach.call(b,a);else{var g=b.length;if(0!==g)for(var e,d=0;d