Raynos / mercury

A truly modular frontend framework
http://raynos.github.io/mercury/
MIT License
2.82k stars 142 forks source link

Fixed version of vdom-to-html lib used. #168

Closed nikuda closed 9 years ago

nikuda commented 9 years ago

vdom-to-html 1.2.5 is the last version of the lib that supports virtual-dom 1.x. Once mercury is updated to use virtual-dom 2.x this version limitation should be lifted.

This patch fixes the server-rendering example in examples/server-rendering/server.js, and also it's the only place where vdom-to-html lib is used.

Related: #155

Raynos commented 9 years ago

lgtm.