Override existing $ function, fixed a few event module issues
This commit is contained in:
parent
a41e850db9
commit
ef2dcf4ac6
12
README.md
12
README.md
@ -18,13 +18,13 @@ Browser support: IE8+, Latest versions of Firefox, Chrome, Safari, Opera
|
||||
|
||||
functions:
|
||||
|
||||
* Get:
|
||||
Use:
|
||||
$_.get(url, data_object, callback);
|
||||
* Get:
|
||||
Use:
|
||||
$_.get(url, data_object, callback);
|
||||
|
||||
* Post:
|
||||
Use:
|
||||
$_.post(url, data_object, callback);
|
||||
* Post:
|
||||
Use:
|
||||
$_.post(url, data_object, callback);
|
||||
|
||||
**QS**: querystring parsing and serialization for hashbang strings, and pushState urls
|
||||
|
||||
|
6
kis.js
6
kis.js
@ -26,7 +26,7 @@
|
||||
return (x.length === 1) ? x[0] : x;
|
||||
};
|
||||
|
||||
window.$ = window.$ || $;
|
||||
window.$ = $;
|
||||
|
||||
/**
|
||||
* Ajax
|
||||
@ -273,6 +273,8 @@
|
||||
{
|
||||
var i,len;
|
||||
|
||||
if(!sel){return false;}
|
||||
|
||||
if(sel.length)
|
||||
{
|
||||
len = sel.length;
|
||||
@ -290,6 +292,8 @@
|
||||
{
|
||||
var i, len;
|
||||
|
||||
if(!sel){return false;}
|
||||
|
||||
if(sel.length)
|
||||
{
|
||||
len = sel.length;
|
||||
|
Loading…
Reference in New Issue
Block a user