Browse Source

cleanup after removal of soop

Removed some unnecessary parenthesise that hung around after the merge
of #417
patch-2
Linus Unnebäck 10 years ago
parent
commit
3da6fe899f
  1. 2
      lib/BIP39WordlistEn.js
  2. 2
      lib/Connection.js
  3. 2
      lib/Curve.js
  4. 2
      lib/ECIES.js
  5. 2
      lib/Message.js
  6. 2
      lib/Opcode.js
  7. 2
      lib/PayPro.js
  8. 2
      lib/Peer.js
  9. 2
      lib/PeerManager.js
  10. 2
      lib/Point.js
  11. 2
      lib/PrivateKey.js
  12. 2
      lib/RpcClient.js
  13. 2
      lib/SIN.js
  14. 2
      lib/SINKey.js
  15. 2
      lib/Script.js
  16. 2
      lib/ScriptInterpreter.js
  17. 2
      lib/SecureRandom.js
  18. 2
      lib/Transaction.js
  19. 2
      lib/TransactionBuilder.js
  20. 2
      lib/Wallet.js
  21. 2
      lib/WalletKey.js
  22. 2
      lib/browser/ECIES.js
  23. 2
      lib/browser/Point.js
  24. 2
      lib/browser/SecureRandom.js
  25. 2
      lib/common/ECIES.js
  26. 2
      lib/common/SecureRandom.js
  27. 2
      util/BinaryParser.js
  28. 2
      util/EncodedData.js
  29. 2
      util/VersionedData.js

2
lib/BIP39WordlistEn.js

File diff suppressed because one or more lines are too long

2
lib/Connection.js

@ -561,4 +561,4 @@ Connection.prototype.parseMessage = function(command, payload) {
return data;
};
module.exports = (Connection);
module.exports = Connection;

2
lib/Curve.js

@ -29,4 +29,4 @@ Curve.getN = function() {
return n;
};
module.exports = (Curve);
module.exports = Curve;

2
lib/ECIES.js

@ -20,4 +20,4 @@ ECIES.symmetricDecrypt = function(key, encrypted) {
return r;
};
module.exports = (ECIES);
module.exports = ECIES;

2
lib/Message.js

@ -37,4 +37,4 @@ Message.magicHash = function(str) {
return hash;
};
module.exports = (Message);
module.exports = Message;

2
lib/Opcode.js

@ -163,4 +163,4 @@ Opcode.asList = function() {
return keys;
};
module.exports = (Opcode);
module.exports = Opcode;

2
lib/PayPro.js

@ -242,4 +242,4 @@ PayPro.prototype.sinVerify = function() {
return Message.verifyWithPubKey(pubkey, buf, sig);
};
module.exports = (PayPro);
module.exports = PayPro;

2
lib/Peer.js

@ -53,4 +53,4 @@ Peer.prototype.toBuffer = function() {
return put.buffer();
};
module.exports = (Peer);
module.exports = Peer;

2
lib/PeerManager.js

@ -311,4 +311,4 @@ PeerManager.prototype.discover = function(options, callback) {
return self;
};
module.exports = (PeerManager);
module.exports = PeerManager;

2
lib/Point.js

@ -22,4 +22,4 @@ Point.multiply = function(p1, x) {
return Point.fromUncompressedPubKey(pubKey);
};
module.exports = (Point);
module.exports = Point;

2
lib/PrivateKey.js

@ -79,4 +79,4 @@ PrivateKey.prototype.network = function() {
return answer;
};
module.exports = (PrivateKey);
module.exports = PrivateKey;

2
lib/RpcClient.js

@ -218,4 +218,4 @@ function rpc(request, callback) {
generateRPCMethods(RpcClient, callspec, rpc);
module.exports = (RpcClient);
module.exports = RpcClient;

2
lib/SIN.js

@ -60,4 +60,4 @@ SIN.prototype.validate = function() {
if (this.data.length != 22) throw new Error('invalid data length');
});
};
module.exports = (SIN);
module.exports = SIN;

2
lib/SINKey.js

@ -34,4 +34,4 @@ SINKey.prototype.storeObj = function() {
return obj;
};
module.exports = (SINKey);
module.exports = SINKey;

2
lib/Script.js

@ -640,4 +640,4 @@ Script.chunksToBuffer = function(chunks) {
module.exports = (Script);
module.exports = Script;

2
lib/ScriptInterpreter.js

@ -1082,4 +1082,4 @@ ScriptInterpreter.prototype.isCanonicalSignature = function(sig) {
return true;
};
module.exports = (ScriptInterpreter);
module.exports = ScriptInterpreter;

2
lib/SecureRandom.js

@ -6,4 +6,4 @@ SecureRandom.getRandomBuffer = function(size) {
return crypto.randomBytes(size);
}
module.exports = (SecureRandom);
module.exports = SecureRandom;

2
lib/Transaction.js

@ -627,4 +627,4 @@ Transaction.prototype.isComplete = function() {
};
module.exports = (Transaction);
module.exports = Transaction;

2
lib/TransactionBuilder.js

@ -1031,4 +1031,4 @@ TransactionBuilder.prototype.merge = function(b) {
}
};
module.exports = (TransactionBuilder);
module.exports = TransactionBuilder;

2
lib/Wallet.js

@ -136,4 +136,4 @@ Wallet.prototype.addScript = function(script) {
return addrStr;
};
module.exports = (Wallet);
module.exports = Wallet;

2
lib/WalletKey.js

@ -47,4 +47,4 @@ WalletKey.prototype.fromObj = function(obj) {
this.privKey.regenerateSync();
};
module.exports = (WalletKey);
module.exports = WalletKey;

2
lib/browser/ECIES.js

@ -33,4 +33,4 @@ ECIES.symmetricDecrypt = function(key, encrypted) {
return decbuf;
};
module.exports = (ECIES);
module.exports = ECIES;

2
lib/browser/Point.js

@ -28,4 +28,4 @@ Point.multiply = function(p1, x) {
return p;
};
module.exports = (Point);
module.exports = Point;

2
lib/browser/SecureRandom.js

@ -18,4 +18,4 @@ SecureRandom.getRandomBuffer = function(size) {
return buf;
};
module.exports = (SecureRandom);
module.exports = SecureRandom;

2
lib/common/ECIES.js

@ -114,4 +114,4 @@ ECIES.prototype.getSfromPrivkey = function() {
return S;
};
module.exports = (ECIES);
module.exports = ECIES;

2
lib/common/SecureRandom.js

@ -22,4 +22,4 @@ SecureRandom.getPseudoRandomBuffer = function(size) {
return b;
};
module.exports = (SecureRandom);
module.exports = SecureRandom;

2
util/BinaryParser.js

@ -134,4 +134,4 @@ Parser.prototype.varStr = function() {
return this.buffer(len);
};
module.exports = (Parser);
module.exports = Parser;

2
util/EncodedData.js

@ -144,4 +144,4 @@ EncodedData.applyEncodingsTo = function(aClass) {
EncodedData.applyEncodingsTo(EncodedData);
module.exports = (EncodedData);
module.exports = EncodedData;

2
util/VersionedData.js

@ -39,4 +39,4 @@ VersionedData.prototype.payload = function(data) {
return this.as('binary').slice(1);
};
module.exports = (VersionedData);
module.exports = VersionedData;

Loading…
Cancel
Save