projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca219d
)
main.js
author
Chris
<chris@roojs.com>
Tue, 17 Sep 2013 09:43:26 +0000
(17:43 +0800)
committer
Chris
<chris@roojs.com>
Tue, 17 Sep 2013 09:43:26 +0000
(17:43 +0800)
main.js
patch
|
blob
|
history
diff --git
a/main.js
b/main.js
index
4fad4ca
..
a21784d
100755
(executable)
--- a/
main.js
+++ b/
main.js
@@
-24,6
+24,9
@@
button.signal.clicked.connect(Gtk.main_quit);
/* Add button to window */
/* create the args */
+var args = Array.prototype.slice.call(typeof(Seed) != 'undefined' ? Seed.argv : ARGV);
+args.shift(); //seed
+args.shift(); // main.js
print(Seed.argv[2]);
//window.add(button);