Revert "remove broken functions from convert module"

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

This reverts commit 93fb944e1f.
This commit is contained in:
ansuz 2016-03-09 10:29:51 +01:00
parent d3e2a2f52e
commit c67451bc1a
1 changed files with 7 additions and 1 deletions

View File

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