Revert "File.js"
[app.Builder.js] / bjstester.js
index 6ca44d1..554c391 100644 (file)
@@ -33,19 +33,16 @@ args.shift();
 if (File.isFile(args[0])) {
     bjstest(args[0]);    
 } else { 
-  trhow "argument is not file";
+  throw "argument is not file";
 }
 
-
-print( " diff -w -u /tmp/rconv_orig /tmp/rconv_gen/");
-
-
 
 function bjstest(fn) {
-    
+    print("BJSTEST");
     // does it have a .bjs file..
     var bjs = fn.replace(/\.js$/, '.bjs');
-    if (!bjs.match(/\.bjs$/) {
+    if (!bjs.match(/\.bjs$/)) {
         throw "not a bjs file"
     } 
     // let's assume roo..
@@ -59,7 +56,7 @@ function bjstest(fn) {
     });
     render.loadItems(function() {
         print(render.toSource());
-    });
+    }, true);
     
 }
 //print(JSON.stringify(rf.cfg, null,4));