Revert "remove broken functions from convert module"

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

This reverts commit 93fb944e1f.
pull/1/head
ansuz 9 years ago
parent d3e2a2f52e
commit c67451bc1a

@ -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);
} }
} }
}, },

Loading…
Cancel
Save