Permalink
Browse files

rename _getId -> _retrieveId to prevent confusion with id getter

  • Loading branch information...
1 parent 336b075 commit d8206793ccead46d77ace56d52e68a83e701d8fe @ericz ericz committed Apr 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/peer.js
View
@@ -65,13 +65,13 @@ function Peer(id, options) {
this._init();
} else {
this.id = null;
- this._getId();
+ this._retrieveId();
}
};
util.inherits(Peer, EventEmitter);
-Peer.prototype._getId = function(cb) {
+Peer.prototype._retrieveId = function(cb) {
var self = this;
try {
var http = new XMLHttpRequest();

0 comments on commit d820679

Please sign in to comment.