Browse Source

fix extend

patch-2
Manuel Araoz 10 years ago
parent
commit
f2eeb7664e
  1. 3
      lib/errors/index.js

3
lib/errors/index.js

@ -56,5 +56,6 @@ traverseRoot(bitcore.Error, data);
module.exports = bitcore.Error;
module.exports.extend = function(spec) {
traverseRoot(bitcore.Error, spec);
traverseNode(bitcore.Error, spec);
return bitcore.Error;
};

Loading…
Cancel
Save