diff --git a/README.md b/README.md
index b02529d..e81cb8e 100755
--- a/README.md
+++ b/README.md
@@ -2,54 +2,54 @@
A Minimal, Modular Javascript library for Modern browsers.
-Aims to be fast, small, and easily split into individual modules.
+Aims to be fast, small, and easily split into individual modules.
-You can create your own library by adding and removing modules from the
-src directory, and running the "combine.php" script. This will output a
+You can create your own library by adding and removing modules from the
+src directory, and running the "combine.php" script. This will output a
"kis-custom.js" file. (Be careful, as the script will overwrite any "kis-custom.js"
file that already exists).
-Browser support: IE8+, Latest versions of Firefox, Chrome, Safari, Opera
+Browser support: IE9+, Latest versions of Firefox, Chrome, Safari, Opera
## Basic Use: ##
* Function: `$_(selector).module.function(params);`
### Core Methods ###
-
+
**properties:**
* el: The html object returned by the selector function.
**functions:**
-
+
* each: For applying changes to every item matched by a selector
$_(selector).each(callback);
-
- Example :
-
+
+ Example :
+
$_(".foo").each(function(e){
$_(e).dom.text(value);
}):
-
+
* ext: For extending the library, adds this.el to the object or function supplied
-
-
+
+
$_.ext("name", functionOrObject);
-
-
- Example:
-
+
+
+ Example:
+
$_.ext("zip", function(){ //function });
Adds 'zip' function to $_.
-
+
* type: For getting the type of a variable
-
+
$_.type(var);
-Have a look at the /docs folder included with the library for documentation on the included modules. The development version of the documentation is avaliable at
+Have a look at the /docs folder included with the library for documentation on the included modules. The development version of the documentation is avaliable at
[http://github.timshomepage.net/kis-js/docs/](http://github.timshomepage.net/kis-js/docs/)
@@ -59,10 +59,10 @@ There are two lite versions:
1. Lite - Includes only the ajax and events modules
2. Lite-dom - Includes ajax, events, and dom modules
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/docs/files.html b/docs/files.html
index abfd7f0..f6c1b34 100755
--- a/docs/files.html
+++ b/docs/files.html
@@ -1 +1 @@
-
\ No newline at end of file
diff --git a/docs/symbols/src/kis-js_src_core.js.html b/docs/symbols/src/kis-js_src_core.js.html
index 738beac..9f475c5 100755
--- a/docs/symbols/src/kis-js_src_core.js.html
+++ b/docs/symbols/src/kis-js_src_core.js.html
@@ -9,7 +9,7 @@
2 Kis JS Keep It Simple JS Library
3 Copyright Timothy J. Warren
4 License Public Domain
- 5 Version 0.6.0
+ 5 Version 0.7.0
6 */ 7(function(){ 8
@@ -41,17 +41,17 @@
34 */ 35$_=function(s) 36{
- 37//Have documentElement be default selector, just in case
- 38if(typeofs==="undefined")
+ 37// Have documentElement be default selector, just in case
+ 38if(typeofs==="undefined") 39{
- 40//Defines a "global" selector for that instance
+ 40// Defines a "global" selector for that instance 41sel=(typeof$_.el!=="undefined") 42?$_.el 43:document.documentElement; 44} 45else 46{
- 47sel=(typeofs!=="object")?$(s):s;
+ 47sel=$(s); 48} 49 50// Add the selector to the prototype
@@ -177,8 +177,8 @@
170[].forEach.call(sel,callback);171return;172}
-173
-174// Otherwise, fall back to a for loop
+173
+174// Otherwise, fall back to a for loop175varlen=sel.length;176177if(len===0)
diff --git a/docs/symbols/src/kis-js_src_modules_DOM.js.html b/docs/symbols/src/kis-js_src_modules_DOM.js.html
index b8c3b2b..f2131d1 100755
--- a/docs/symbols/src/kis-js_src_modules_DOM.js.html
+++ b/docs/symbols/src/kis-js_src_modules_DOM.js.html
@@ -423,119 +423,113 @@
416 */417text:function(value)418{
-419varoldValue,set,type,sel;
+419varoldValue,set,sel;420421sel=this.el;422423set=(typeofvalue!=="undefined")?true:false;424
-425type=(typeofsel.textContent!=="undefined")
-426?"textContent"
-427:(typeofsel.innerText!=="undefined")
-428?"innerText"
-429:"innerHTML";
-430
-431oldValue=sel[type];
-432
-433if(set)
-434{
-435sel[type]=value;
-436returnvalue;
-437}
-438else
-439{
-440returnoldValue;
-441}
-442},
-443/**
-444 * Sets or retrieves a css property of the element
-445 * specified by the current selector. If a value is
-446 * passed, it will set that value on the current element,
-447 * otherwise it will return the value of the css property
-448 * on the current element
-449 *
-450 * @name css
-451 * @memberOf $_.dom
-452 * @function
-453 * @param string property
-454 * @param [string] value
-455 * @return string
-456 * @type string
-457 */
-458css:function(prop,val)
-459{
-460//Return the current value if a value is not set
-461if(typeofval==="undefined")
-462{
-463return_css(this.el,prop);
-464}
-465
-466$_.each(function(e){
-467_css(e,prop,val);
-468});
-469},
-470/**
-471 * Adds to the innerHTML of the current element, after the last child.
-472 *
-473 * @example $_("ul").dom.append("<li></li>") adds an li element to the end of the selected ul element
-474 * @name append
-475 * @memberOf $_.dom
-476 * @function
-477 * @param string htm
-478 */
-479append:function(htm)
-480{
-481if(typeofdocument.insertAdjacentHTML!=="undefined")
-482{
-483this.el.insertAdjacentHTML('beforeend',htm);
-484}
-485else
-486{
-487this.el.innerHTML+=htm;
-488}
-489},
-490/**
-491 * Adds to the innerHTML of the selected element, before the current children
-492 *
-493 * @name prepend
-494 * @memberOf $_.dom
-495 * @function
-496 * @param string htm
-497 */
-498prepend:function(htm)
-499{
-500if(typeofdocument.insertAdjacentHTML!=="undefined")
-501{
-502this.el.insertAdjacentHTML('afterbegin',htm);
-503}
-504else
-505{
-506this.el.innerHTML=htm+this.el.innerHTML;
-507}
-508},
-509/**
-510 * Sets or gets the innerHTML propery of the element(s) passed
-511 *
-512 * @name html
-513 * @memberOf $_.dom
-514 * @function
-515 * @param [string] htm
-516 * @return string
-517 * @type string
-518 */
-519html:function(htm)
-520{
-521
-522if(typeofhtm!=="undefined")
-523{
-524this.el.innerHTML=htm;
-525}
-526
-527//If the parameter is undefined, just return the current value
-528returnthis.el.innerHTML;
-529}
-530};
-531
-532$_.ext('dom',d);
-533
-534}());