From: Alan Knowles Date: Wed, 27 May 2015 08:15:00 +0000 (+0800) Subject: src/Builder4/Editor.bjs X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=e14184783b926ddd24c67b3e0fa11ee211d39638 src/Builder4/Editor.bjs src/Builder4/Editor.vala --- diff --git a/src/Builder4/Editor.bjs b/src/Builder4/Editor.bjs index df616cdf1..684909774 100644 --- a/src/Builder4/Editor.bjs +++ b/src/Builder4/Editor.bjs @@ -18,7 +18,7 @@ "# string key" : "\"\"", "* pack" : "add", "xtype" : "Box", - "| void show" : "(JsRender.JsRender file, JsRender.Node node, string ptype, string key)\n{\n this.file = file; \n this.ptype = \"\";\n this.key = \"\";\n this.node = null;\n\n \n if (file.xtype != \"PlainFile\") {\n \n this.ptype = ptype;\n this.key = key;\n this.node = node;\n string val = \"\";\n // find the text for the node..\n if (ptype == \"listener\") {\n val = node.listeners.get(key);\n \n } else {\n val = node.props.get(key);\n }\n this.view.load(val);\n\n \n } else {\n this.view.load( file.toSource() );\n\n }\n this.key_edit.el.text = key; \n \n \n\n}", + "| void show" : "(JsRender.JsRender file, JsRender.Node node, string ptype, string key)\n{\n this.file = file; \n this.ptype = \"\";\n this.key = \"\";\n this.node = null;\n\n \n if (file.xtype != \"PlainFile\") {\n \n this.ptype = ptype;\n this.key = key;\n this.node = node;\n string val = \"\";\n // find the text for the node..\n if (ptype == \"listener\") {\n val = node.listeners.get(key);\n \n } else {\n val = node.props.get(key);\n }\n this.view.load(val);\n\n \n } else {\n this.view.load( file.toSource() );\n\n }\n this.key_edit.el.text = key; \n \n \n\n}", "# JsRender.JsRender file" : "null", "# bool pos" : false, "string id" : "Editor", diff --git a/src/Builder4/Editor.vala b/src/Builder4/Editor.vala index 5d933b5bb..044f364db 100644 --- a/src/Builder4/Editor.vala +++ b/src/Builder4/Editor.vala @@ -130,7 +130,7 @@ public class Editor : Object } this.key_edit.el.text = key; - + } public class Xcls_Box2 : Object