From 5206f6f2599ca953a2324c3bfe78162eac35eaaf Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 18 Oct 2011 11:16:51 -0400 Subject: [PATCH] Updated compiled js file --- .gitignore | 3 ++- kis-all.js | 4 ++++ kis-min.js | 13 +++++++------ 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index b4a501a..fbdfaf8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -kis-custom.js \ No newline at end of file +kis-custom.js +combine-build.php \ No newline at end of file diff --git a/kis-all.js b/kis-all.js index eb19921..d037f03 100644 --- a/kis-all.js +++ b/kis-all.js @@ -656,6 +656,10 @@ } localStorage.setItem(key, value); }, + remove: function (key) + { + localStorage.removeItem(key); + }, getAll: function () { var i, diff --git a/kis-min.js b/kis-min.js index cbe1780..bc164eb 100644 --- a/kis-min.js +++ b/kis-min.js @@ -9,9 +9,10 @@ null&&(f===true?d.removeAttribute(b):delete d[b]);return typeof a!=="undefined"? a:console.log("Property "+b+" nor an equivalent seems to exist")}var a,h;a=/^([\w\-]+)$/;h=/\.([\w\-]+)$/;e.ext("dom",{addClass:function(d){e.each(function(b){b.classList.add(d)})},removeClass:function(d){e.each(function(b){b.classList.remove(d)})},hide:function(){this.css("display","none")},show:function(d){typeof d==="undefined"&&(d="block");this.css("display",d)},attr:function(d,b){var a=this.el;if(a.length>1&&typeof b==="undefined")console.log(a),console.log("Must be a singular element");else if(a.length> 1&&typeof b!=="undefined")e.each(function(a){return c(a,d,b)});else return c(a,d,b)},text:function(d){var b,a,c;c=this.el;a=typeof c.innerText!=="undefined"?"innerText":typeof c.textContent!=="undefined"?"textContent":"innerHTML";b=c[a];return typeof d!=="undefined"?c[a]=d:b},css:function(d,b){if(typeof b==="undefined")return f(this.el,d);e.each(function(a){f(a,d,b)})},children:function(d){if(typeof d==="undefined")return e(this.el.children);var b=typeof this.el.children!=="undefined"?this.el.children: this.el;if(e.type(d)!=="string")return e(d);else if(d.match(/#([\w\-]+$)/))return e(e.$(d));else{var c,f=b.length,g=[];if(d.match(a))for(c=0;c1?c[1]:"";else if(c===false||c===void 0)c=window.location.search.substring(1);else return false;g=c.split("&");f=g.length;for(c=0;c1?c[1]:"";else if(c===false||c===void 0)c=window.location.search.substring(1);else return false; +g=c.split("&");f=g.length;for(c=0;c