You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/05/31 20:07:51 UTC

[1/4] js commit: Fixing failing tests, starting guid should be so that at all times it is truthy

Updated Branches:
  refs/heads/master 8d7264291 -> 63b20bb41


Fixing failing tests, starting guid should be so that at all times it is truthy


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/63b20bb4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/63b20bb4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/63b20bb4

Branch: refs/heads/master
Commit: 63b20bb41d9ccde67da15d644a57f435cf78484f
Parents: bd23ea5
Author: Fil Maj <ma...@gmail.com>
Authored: Thu May 31 10:57:51 2012 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Thu May 31 10:57:51 2012 -0700

----------------------------------------------------------------------
 lib/common/channel.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/63b20bb4/lib/common/channel.js
----------------------------------------------------------------------
diff --git a/lib/common/channel.js b/lib/common/channel.js
index 71ec066..3456e6a 100755
--- a/lib/common/channel.js
+++ b/lib/common/channel.js
@@ -50,7 +50,7 @@ var Channel = function(type, opts) {
     this.type = type;
     this.handlers = {};
     this.numHandlers = 0;
-    this.guid = 0;
+    this.guid = 1;
     this.fired = false;
     this.enabled = true;
     this.events = {