Re:Microjs: an index of javascript micro frameworks
by revorad on Saturday March 17, 2012 @03:11PM
(#3717894)
Unless the optimizer made sure that it didn't inadvertently break any cross-browser compatibility, you would lose one of the biggest benefits of libraries like jQuery.
[ Parent
| on HN ]
Re:Microjs: an index of javascript micro frameworks
by derefr on Saturday March 17, 2012 @03:44PM
(#3717969)
Right; I imagine library authors would have to adopt some sort of conventional annotation on functions declaring something like "if you execute any function in the set {X,Y,Z}, you have to include all of {X,Y,Z}, because they're cross-platform equivalents for one-another."
Re:Microjs: an index of javascript micro frameworks
by edwinnathaniel on Saturday March 17, 2012 @04:24PM
(#3718090)
GWT solves this problem a few years ago.