Merge branch 'master' of http://git.roojs.com:8081/app.Builder.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 18 May 2014 14:51:57 +0000 (22:51 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 18 May 2014 14:51:57 +0000 (22:51 +0800)
Test.GtkWriter.js [new file with mode: 0644]

diff --git a/Test.GtkWriter.js b/Test.GtkWriter.js
new file mode 100644 (file)
index 0000000..4643370
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ *
+ * Code to test output as gtk file
+ *
+ * all it does is load a bjs file, and try to save...
+ *
+ *
+ */
+
+
+
+var proj = new imports.Project.Gtk.Gtk({
+    name : "Test",
+    paths : { "/home/alan/gitlive/app.Builder/Builder4" : "dir" },
+    xtype :  "Gtk",
+    
+});
+
+
+
+var tf = proj.files['/home/alan/gitlive/app.Builder/Builder4/Editor.bjs'];
+tf.loadItems(function() {
+    print(JSON.stringify(tf,null,4));
+    
+    
+}, true); 
\ No newline at end of file