|
|
@ -20,19 +20,13 @@ 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);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|