Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 413
Rixius Avatar asked Sep 07 '10 16:09

Rixius


2 Answers

You could use the closure compiler with a custom externs file which doesn't define any of the things missing in IE from the compatibility table of your choice (the kangax one linked above, or you could use one from quirksmode).

like image 166
Annie Avatar answered Oct 03 '22 01:10

Annie


Use a cross browser library like MooTools. It automatically adds missing methods for IE, also makes writing javascript easier.

like image 41
letronje Avatar answered Oct 03 '22 01:10

letronje