mirror of https://github.com/xwiki-labs/cryptpad
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:
parent
d3e2a2f52e
commit
c67451bc1a
|
@ -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);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue