javascript - Extend Zepto.js so don't need jQuery anymore -
i idea of cutting out 80% of jquery using zepto.js. however, when making switch, clear of jquery plugins i'm using, example jqueryui draggable(), can't find in zepto need.
is there sane way go switching zepto? or going have extend function function until stop getting errors?
hear me out. in perfect world have frameworks need. don't live in such world. different projects - different requirements. jquery designed cover of usual requirements, therefore saving time. may sound tempting try optimize project needs, in wrong run, worth building frameworks every small project? in end it's 15 kbs of difference, fraction of second. javascript not compiled don't save compilation-time or anything. little tiny bit of bandwidth. i'm not aware of importance of project, wouldn't sacrifice time build custom jquery distribution every new project i'm creating.
if stripped down zepto doesn't work out, i'd stick jquery. if determined this, think easier start striping jquery down, instead of upgrading zepto. way can instantly tell when modules break , see reason.
Comments
Post a Comment