Instead of doing browser or object detects all over the MochiKit
code, how about moving all of the hacks to a separate include file
with all of the affected functions redefined, and ask people to
include it with a conditional comment? This would lean out the core,
speed things up a bit for everyone (fewer branches), but make using
MochiKit a bit more complicated. I'm guessing that IE7 will try to
emulate IE6, so it may break a lot of the object detection anyway.
Thoughts?
- [mochikit] Conditional Comments Beau Hartshorne
-