Finding core javascript calls that are incompatible with IE6/7/8
Hey is there a jslint-like inspector that will flag on calls that are incompatible with older versions of IE? or just cross browser incompatible calls in general?
你可以使用闭包编译器和一个自定义的externs文件,这个文件没有在你选择的兼容性表格(上面链接的kangax链表,或者你可以使用quirksmode中的一个)中定义IE中缺少的任何东西。
Use a cross browser library like MooTools. It automatically adds missing methods for IE, also makes writing javascript easier.
The WTP project for eclipse allows you to select different browser support javascript packages for JS projects. It certainly supplies completion only for the items actually in the different browsers, but I'm not sure if it flags other usage as errors.
链接地址: http://www.djcxy.com/p/2820.html上一篇: ORM映射器的Windows 7手机