javascript - minimum set of module/methods in jquery code for selector -


i reading jquery code now. found following methods suitable cross platform programming. (desktop, web browser , mobile app)

$(selector) $.ajax()     <----------i not sure if veryuseful $(selector).find() $(selector).bind() $(selector).unbind() $(selector).delegate() $(selector).remove() $(selector).attr() $(selector).html()  

i mean prefer javascript native code process logic business except selector/dom methods. means can use same logic code in qt/qml.

is there minimum set of module/methods function above?

my understanding want light-weight version of jquery. while may want use above functions, chopping down jquery won't give massive boost if looking for. of course, using native dom functions faster, but, free use both in conjunction well.

there zepto (http://zeptojs.com/) able of functions requested.

in addition, http://projects.jga.me/jquery-builder/ can used build custom jquery build , can remove 'css', 'ajax', , 'effect' bring down size of package while retaining core features


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -