4 ms·
Personally I would hate large amounts of logic in my attributes like that. I much think that properly formatted and structured JavaScript solves this problem m
by calebio 13y ago
Personally I would hate large amounts of logic in my attributes like that. I much think that properly formatted and structured JavaScript solves this problem much better. Especially when the same logic applies to two elements and you can create a function for it.
- mattinsler 13y agoRivets actually does a great job allowing you to create functions for similar formatting, which allows you to have very very short attributes, which in turn ends up being multiples of lines less than the equivalent javascript.