Re:Stop writing milliseconds and hating JavaScript's setTime...
by stephenr on Monday May 16, 2011 @06:52AM
(#2552157)
No, you can't always distribute jQuery - if a project is already using another library, it's not really acceptable to include jQuery.
Code re-use is great, when it makes sense. Requiring jQuery and a ~250 line script, so you can use "5 minutes" instead of (5 * 60 * 1000) is ridiculous, and any developer who does that would get a bollocking if they reported to me.
Code re-use is great, when it makes sense. Requiring jQuery and a ~250 line script, so you can use "5 minutes" instead of (5 * 60 * 1000) is ridiculous, and any developer who does that would get a bollocking if they reported to me.