Add minimal ready function?
pwFoo opened this issue · 1 comments
pwFoo commented
/*
* $ main function
* a = css selector, dom object, or function
* http://www.dustindiaz.com/smallest-domready-ever
* returns instance or executes function on ready
*/
$ = function (a) {
return /^f/.test(typeof a) ? /c/.test(b.readyState) ? a() : $(b).on('DOMContentLoaded', a) : new i(a)
}
Source is ki.js
pwFoo commented
Searched for ready... missed
$(function)