Override existing $ function, fixed a few event module issues

This commit is contained in:
Timothy Warren 2011-06-16 12:19:47 -04:00
parent a41e850db9
commit ef2dcf4ac6
2 changed files with 12 additions and 8 deletions

6
kis.js
View File

@ -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;