Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API changes done. Now the normal methods will be async, *_sync will b…
…e blocking operations. Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
- Loading branch information
Showing
4 changed files
with
53 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
var bcrypt_lib = require('./bcrypt_lib'), | ||
emitter = require('events').Emitter, | ||
exports = module.exports; | ||
var bcrypt_lib = require('./bcrypt_lib'); | ||
|
||
//function BCrypt() { | ||
//emitter.call(this); | ||
//this.lib = new bcrypt_lib.BCrypt(); | ||
|
||
//} | ||
//sys.inherits(BCrypt, emitter); | ||
|
||
//module.exports = BCrypt; | ||
module.exports = new bcrypt_lib.BCrypt(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters