removed node forge bundle comment

This commit is contained in:
nginnever 2016-02-13 13:46:33 -08:00
parent 91bc56eb05
commit effa21b892

View File

@ -13,13 +13,6 @@ var isNode = !global.window
// protobuf read from file
var messages = isNode ? protobuf(fs.readFileSync(__dirname + '/../pb/crypto.proto')) : protobuf(require('buffer!./../pb/crypto.proto'))
// for some reason webpack can only find forge at forge.forge().someFunction()
// browser should be able to just use forge.someFunction()
// this is only happening when js-ipfs bundles peer-id module
/* if(!isNode){
forge = forge.forge()
} */
exports = module.exports = Id
exports.Buffer = Buffer