projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a6e01c
)
gtkrun.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 23 May 2010 14:03:47 +0000
(22:03 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 23 May 2010 14:03:47 +0000
(22:03 +0800)
gtkrun.js
patch
|
blob
|
history
diff --git
a/gtkrun.js
b/gtkrun.js
index
a0c6e7d
..
9ffd26b
100644
(file)
--- a/
gtkrun.js
+++ b/
gtkrun.js
@@
-49,13
+49,13
@@
files.forEach(function(f) {
if (!f.match(/\.bjs$/)) {
continue;
}
- if (File.exist(f
+
'.js')) {
- olist.push(imports[f
+ '.js'
]);
+ if (File.exist(f
.replace(/\.bjs$/,
'.js')) {
+ olist.push(imports[f
.replace(/\.bjs$/, '.js')
]);
continue;
}
var gtkbuilder new imports.Builder.Provider.File.Gtk.Gtk({ path : f });
gtkbuilder.saveJS();
- olist.push(imports[f
+ '.js'
]);
+ olist.push(imports[f
.replace(/\.bjs$/, '.js')
]);
});