Updated Readme

This commit is contained in:
Timothy Warren 2011-07-20 15:14:32 -04:00
parent 9174ceb6dd
commit ac1bd247b9
2 changed files with 10 additions and 2 deletions

View File

@ -19,13 +19,19 @@ Browser support: IE8+, Latest versions of Firefox, Chrome, Safari, Opera
functions:
*each: For applying changes to every item matched by a selector
* each: For applying changes to every item matched by a selector
Use:
$_(selector).dom.each(callback);
Example : $_(".foo").dom.each(function(e){
$_(e).dom.text(value);
}):
* ext: For extending the library, adds this.el to the object or function supplied
Use: $_.ext("name", functionOrObject)
Example: $_.ext("zip", function(){ //function });
Adds 'zip' function to $_.
**Ajax**: simple, jQuery-like ajax functions

4
kis.js
View File

@ -166,13 +166,15 @@
};
}
// --------------------------------------------------------------------------
}());
// --------------------------------------------------------------------------
(function(){
"use strict";
//Fix $_ is not defined errors
var $_ = $_ || window.$_;
// Property name for expandos on DOM objects