News for hackers. Stuff that matters.
Re:Microjs: an index of javascript micro frameworks by ramanujam on Saturday March 17, 2012 @04:30PM (#3718107)
When we strip out or modify parts of a library's code we bring onto ourselves an unwanted task of patching it whenever there is a update. Living with the old working version is fine but not very optimal. Say if you made a custom version from jQuery 1.4 i bet it would be painful to update the custom version to use the current release ensuring cross browser compatibility.
Re:Microjs: an index of javascript micro frameworks by derefr on Saturday March 17, 2012 @04:53PM (#3718164)
You don't strip it out manually; you run the compiler on it. When you get the new version of the library, you update that library to the newest version (by simply replacing it) and then run the compiler again. You're never manually touching/modifying/updating any of the "object code" coming from the compiler, just regenerating it from scratch.