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:
b700b79
)
Builder/RightGtkView.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 11 May 2010 09:54:49 +0000
(17:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 11 May 2010 09:54:49 +0000
(17:54 +0800)
Builder/RightGtkView.js
patch
|
blob
|
history
diff --git
a/Builder/RightGtkView.js
b/Builder/RightGtkView.js
index
34ab771
..
8fe3e17
100755
(executable)
--- a/
Builder/RightGtkView.js
+++ b/
Builder/RightGtkView.js
@@
-243,7
+243,13
@@
RightGtkView = new XObject({
x.add_globals();
//x.get_global_object().a = "hello world";
print(src);
- x.eval(src);
+ try {
+ x.eval(src);
+ } catch( e) {
+ print(e);
+ return;
+ }
+
var r = new Gdk.Rectangle();
x.get_global_object()._top.el.show_all();