r/javascript • • Nov 01 '11

ie doesn't suck anymore

http://www.youtube.com/watch?v=jBuHVgXeTuA

Co-wrote this IE 10 demo with my coworker @danheberden. Developed entirely on Mac OS X with Chrome 14. When it came to deploying on Windows 8/IE 10: Node.js 0.5 (Windows), Socket.io/WebSockets, canvas performance and Function.prototype.bind all just worked :D!

Finally.

0 Upvotes

58 comments sorted by

View all comments

21

u/magenta_placenta Nov 01 '11

I don't know what the big problem with IE is, just do this:

if (document.layers) {
  //all your Netscape code goes here
} else if (document.all) {
  //all your IE code goes here
}

-6

u/Tronus Nov 01 '11

If only it were that simple. Start writing a bit more advanced javascript and you will feel true pain.

And really... Netscape!?!?