sync
authorAlan Knowles <alan@akbkhome.com>
Fri, 25 Jun 2010 02:48:39 +0000 (10:48 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 25 Jun 2010 02:48:39 +0000 (10:48 +0800)
Spawn.js
StatusIcon.js
gitlive.js

index 8bf2589..751ef20 100644 (file)
--- a/Spawn.js
+++ b/Spawn.js
@@ -299,6 +299,7 @@ Spawn.prototype = {
  * 
  * simple run a process - returns result, or throws stderr result...
  * @param cfg {Object}  see spawn
+ * @return {string} stdout output.
  */
 function run(cfg) {
     cfg.exceptions = true;
index e50fae3..a73c216 100644 (file)
@@ -144,7 +144,7 @@ StatusIcon  = new XObject({
                                         summary: "Updated " + fn,
                                         body : res.output
                                     });
-                                    notification.set_timeout(500);
+                                    notification.set_timeout(1000);
                                     notification.show();
                                     continue;
                                 }
index 23c0320..f6a76a7 100644 (file)
@@ -91,7 +91,7 @@ var monitor = new Monitor({
         cmds.forEach(function(cmd) {
             // prevent duplicate calls..
             if (done.indexOf(cmd.join(',')) > -1) {
-                continue;
+                return;
             }
             done.push(cmd.join(','));