From 3f83e87c32949082e0ac94a9cea8645c12255478 Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Thu, 16 Jul 2015 17:37:58 -0700 Subject: [PATCH] informal manx-json schema --- pub/tree/src/js/main.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/pub/tree/src/js/main.coffee b/pub/tree/src/js/main.coffee index 6f89a139d..9d4513a0d 100644 --- a/pub/tree/src/js/main.coffee +++ b/pub/tree/src/js/main.coffee @@ -24,6 +24,7 @@ $ -> window.tree._basepath + path window.tree.fragpath = (path) -> path.replace window.tree._basepath,"" window.tree.reactify = (obj) -> switch + # manx: {fork: ["string", {gn:"string" ga:{dict:"string"} c:{list:"manx"}}]} when typeof obj == "string" then obj when obj.gn? React.createElement components[obj.gn] ? obj.gn,