main.js
authorChris <chris@roojs.com>
Tue, 17 Sep 2013 09:45:16 +0000 (17:45 +0800)
committerChris <chris@roojs.com>
Tue, 17 Sep 2013 09:45:16 +0000 (17:45 +0800)
main.js

diff --git a/main.js b/main.js
index a21784d..ca43ecf 100755 (executable)
--- a/main.js
+++ b/main.js
@@ -27,8 +27,16 @@ button.signal.clicked.connect(Gtk.main_quit);
 var args = Array.prototype.slice.call(typeof(Seed) != 'undefined' ? Seed.argv : ARGV);
 args.shift(); //seed
 args.shift(); // main.js
+var cfg = {
+    url : '',
+    delay : 0,
+    export_filename : ''
+};
+
+while(args){
+    print(Seed.argv[2]);
+}
 
-print(Seed.argv[2]);
 //window.add(button);
 BrowserSettings.home_page = 'http://sg.lifestyleasia.com/videos/video-british-polo-day-singapore-2012/';
 TabbedBrowser.browser = new TabbedBrowser.TabbedBrowser();