Revert "remove broken functions from convert module"

Because I forgot that the /render/ page was still using vdom

This reverts commit 93fb944e1ff7802f1970bcad3cd3ca149a23cdf3.
This commit is contained in:
ansuz 2016-03-09 10:29:51 +01:00
parent d3e2a2f52e
commit c67451bc1a

View File

@ -20,13 +20,19 @@ define([
methods = { methods = {
dom:{ dom:{
dom: Self, dom: Self,
hjson: hyperjson.fromDOM hjson: hyperjson.fromDOM,
vdom: function (D) {
return hyperjson.callOn(hyperjson.fromDOM(D), vdom.h);
}
}, },
hjson:{ hjson:{
hjson: Self, hjson: Self,
dom: function (H) { dom: function (H) {
// hyperjson.fromDOM, // hyperjson.fromDOM,
return hyperjson.callOn(H, hyperscript); return hyperjson.callOn(H, hyperscript);
},
vdom: function (H) {
return hyperjson.callOn(H, vdom.h);
} }
} }
}, },