dfilatov / vidom

Library to build UI based on virtual DOM
MIT License
415 stars 16 forks source link

[WRONG] vidom doesn't work in IE or Edge anymore :) #127

Closed ghost closed 9 years ago

ghost commented 9 years ago

...

dfilatov commented 9 years ago

Oh. Yet another bullshit. I've moved to ES2015 only for development purposes. This code isn't supposed to be run in browsers directly. It should be transpiled before. After transpiling it becomes regular ES5 code which is supported by all browsers without any experimental flags. Have you ever heard about transpilers? If not, it's a good time for you to do this. The best prove that everything still works is all tests are passed even in IE9.

By the way, as far as I understand you're able to run vidom, you use some build tool. Browserify, Webpack?

dfilatov commented 9 years ago

If you use browserify and babelify it's easy to run vidom. Bye!