Skip to content

Commit

Permalink
Fix eslint + console.log + .gitignore.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy HUBSCHER committed Oct 6, 2014
1 parent 77bdd7c commit a3f089f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ heka*.log
*.pyc
loadtests/venv/
loadtest.log
loadtests/.env.installed
loadtests/.env.install
1 change: 0 additions & 1 deletion loop/encrypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ function encrypt(passphrase, text) {
if (text === null) {
throw new Error("Text is empty");
}
console.log(passphrase);
var box = new sodium.SecretBox(passphrase);
var encrypted = box.encrypt(text, "utf8");
var data = {
Expand Down
2 changes: 1 addition & 1 deletion loop/tokbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ FakeTokBox.prototype = {
cb(null, this._fakeSessionId(), {apiKey: this._fakeApiKey()});
},

getSessionToken: function(sessionId) {
getSessionToken: function() {
return this._generateFakeToken();
},

Expand Down

0 comments on commit a3f089f

Please sign in to comment.