Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rename _getId -> _retrieveId to prevent confusion with id getter

  • Loading branch information...
commit d8206793ccead46d77ace56d52e68a83e701d8fe 1 parent 336b075
@ericz ericz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/peer.js
View
4 lib/peer.js
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.