projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "File.js"
[app.Builder.js]
/
bjstester.js
diff --git
a/bjstester.js
b/bjstester.js
index
6ca44d1
..
554c391
100644
(file)
--- a/
bjstester.js
+++ b/
bjstester.js
@@
-33,19
+33,16
@@
args.shift();
if (File.isFile(args[0])) {
bjstest(args[0]);
} else {
if (File.isFile(args[0])) {
bjstest(args[0]);
} else {
- t
rh
ow "argument is not file";
+ t
hr
ow "argument is not file";
}
}
-
-print( " diff -w -u /tmp/rconv_orig /tmp/rconv_gen/");
-
-
+
function bjstest(fn) {
function bjstest(fn) {
-
+ print("BJSTEST");
// does it have a .bjs file..
var bjs = fn.replace(/\.js$/, '.bjs');
// 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..
throw "not a bjs file"
}
// let's assume roo..
@@
-59,7
+56,7
@@
function bjstest(fn) {
});
render.loadItems(function() {
print(render.toSource());
});
render.loadItems(function() {
print(render.toSource());
- });
+ }
, true
);
}
//print(JSON.stringify(rf.cfg, null,4));
}
//print(JSON.stringify(rf.cfg, null,4));