Javascript framework that primarily provides just document/onready functionality

烈酒焚心 提交于 2019-12-23 19:11:09

问题


A couple of months ago I was doing Javascript programming on the Facebook platform, on which the major frameworks such as Dojo, ExtJS, jQuery, Prototype, etc. don't necessarily work. Which led me to discovering a couple of frameworks that merely provide the CSS selection functionality, for possible porting, namely Sizzle (used inside jQuery) and Peppy.

I remember at the time also stumbling across a mini framework that primarily provided just the document/onready functionality that some of the major frameworks provide. However I don't remember these (well actually only one) the way I do Sizzle and/or Peppy. Can anybody point me to such a Javascript mini framework, for providing primarily just document/onready functionality? Thanks


回答1:


This was suggested to me yesterday by Cal Jacobson

http://ryanmorr.com/archives/ondomready-no-browser-sniffing

All the best

Matt




回答2:


Going to throw in my library: onready. I extracted this from jQuery.



来源:https://stackoverflow.com/questions/1074009/javascript-framework-that-primarily-provides-just-document-onready-functionality

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!