From 93fb944e1ff7802f1970bcad3cd3ca149a23cdf3 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 3 Mar 2016 15:18:05 +0100 Subject: [PATCH] remove broken functions from convert module --- www/common/convert.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/www/common/convert.js b/www/common/convert.js index 3363cf384..d37e98539 100644 --- a/www/common/convert.js +++ b/www/common/convert.js @@ -20,19 +20,13 @@ define([ methods = { dom:{ dom: Self, - hjson: hyperjson.fromDOM, - vdom: function (D) { - return hyperjson.callOn(hyperjson.fromDOM(D), vdom.h); - } + hjson: hyperjson.fromDOM }, hjson:{ hjson: Self, dom: function (H) { // hyperjson.fromDOM, return hyperjson.callOn(H, hyperscript); - }, - vdom: function (H) { - return hyperjson.callOn(H, vdom.h); } } },