All in the headPonderings and code by Drew McLellanVersion Targeting and JavaScript Libraries- January 24, 2008 The discussion about version targeting continues. In Version Two Eric writes: The handling of JavaScript libraries in a world where the pages calling the libraries will determine how the JS is interpreted &8211; that&8217;s definitely something I hadn&8217;t considered. As I understand it, the problem case is one where a JS library that uses (say) IE9 features is loaded into a page that triggers the IE7 engine. The library would need to preserve backward compatibility with all the IE...http://allinthehead.com/retro/320/version-targeting-and-javascript-libraries |