3 ms·
Great feedback, thank you! If you don't want a jQuery dependency then you probably don't want OJ =). As for the CSS support it is actually quite elegant. Maybe
by evanmoran 13y ago
Great feedback, thank you! If you don't want a jQuery dependency then you probably don't want OJ =).
As for the CSS support it is actually quite elegant. Maybe 100 lines with full support for '&:nested' selectors, and nestable '@media' query support.
One thing that I've been considering is right now 40-50% of the oj.js filesize is support for the Form Elements (TextBox, ListBox, CheckBox,Button) and the "collection" elements (BulletList,NumberList,Table). I'm still considering pulling these out of the core and making them plugins. The issue is they manipulate the basic tags (input,textarea,table,ul,etc) so they seem pretty fundamental. Is that something you would want?
- sixdimensional 13y agoYou might look at Zepto.js for a "lightweight" jQuery if it still does what you need for OJ.
- evanmoran 13y agoZepto would definitely work. Just using event binding and selectors.