doc: fix parse error.

This commit is contained in:
Christopher Jeffrey 2016-10-09 08:45:59 -07:00
parent 4e5ec39cc9
commit 958b8ead18
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
3 changed files with 13 additions and 13 deletions

View File

@ -111,7 +111,7 @@ KeyRing.fromOptions = function fromOptions(options) {
* @private * @private
* @param {Buffer} key * @param {Buffer} key
* @param {Boolean?} compressed * @param {Boolean?} compressed
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
*/ */
KeyRing.prototype.fromPrivate = function fromPrivate(key, compressed, network) { KeyRing.prototype.fromPrivate = function fromPrivate(key, compressed, network) {
@ -134,7 +134,7 @@ KeyRing.prototype.fromPrivate = function fromPrivate(key, compressed, network) {
* Instantiate keyring from a private key. * Instantiate keyring from a private key.
* @param {Buffer} key * @param {Buffer} key
* @param {Boolean?} compressed * @param {Boolean?} compressed
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
* @returns {KeyRing} * @returns {KeyRing}
*/ */
@ -146,7 +146,7 @@ KeyRing.fromPrivate = function fromPrivate(key, compressed, network) {
* Inject data from public key. * Inject data from public key.
* @private * @private
* @param {Buffer} key * @param {Buffer} key
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
*/ */
KeyRing.prototype.fromPublic = function fromPublic(key, network) { KeyRing.prototype.fromPublic = function fromPublic(key, network) {
@ -190,7 +190,7 @@ KeyRing.generate = function(compressed, network) {
/** /**
* Instantiate keyring from a public key. * Instantiate keyring from a public key.
* @param {Buffer} publicKey * @param {Buffer} publicKey
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
* @returns {KeyRing} * @returns {KeyRing}
*/ */
@ -202,7 +202,7 @@ KeyRing.fromPublic = function fromPublic(key, network) {
* Inject data from public key. * Inject data from public key.
* @private * @private
* @param {Buffer} privateKey * @param {Buffer} privateKey
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
*/ */
KeyRing.prototype.fromKey = function fromKey(key, compressed, network) { KeyRing.prototype.fromKey = function fromKey(key, compressed, network) {
@ -222,7 +222,7 @@ KeyRing.prototype.fromKey = function fromKey(key, compressed, network) {
/** /**
* Instantiate keyring from a public key. * Instantiate keyring from a public key.
* @param {Buffer} publicKey * @param {Buffer} publicKey
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
* @returns {KeyRing} * @returns {KeyRing}
*/ */
@ -235,7 +235,7 @@ KeyRing.fromKey = function fromKey(key, compressed, network) {
* @private * @private
* @param {Buffer} key * @param {Buffer} key
* @param {Script} script * @param {Script} script
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
*/ */
KeyRing.prototype.fromScript = function fromScript(key, script, compressed, network) { KeyRing.prototype.fromScript = function fromScript(key, script, compressed, network) {
@ -256,7 +256,7 @@ KeyRing.prototype.fromScript = function fromScript(key, script, compressed, netw
* Instantiate keyring from script. * Instantiate keyring from script.
* @param {Buffer} key * @param {Buffer} key
* @param {Script} script * @param {Script} script
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
* @returns {KeyRing} * @returns {KeyRing}
*/ */

View File

@ -65,7 +65,7 @@ Locker.prototype.hasPending = function hasPending(key) {
* Lock the parent object and all its methods * Lock the parent object and all its methods
* which use the locker. Begin to queue calls. * which use the locker. Begin to queue calls.
* @param {Boolean?} force - Bypass the lock. * @param {Boolean?} force - Bypass the lock.
* @returns {Promise->Function} Unlocker - must be * @returns {Promise} Returns {Function}, must be
* called once the method finishes executing in order * called once the method finishes executing in order
* to resolve the queue. * to resolve the queue.
*/ */

View File

@ -51,7 +51,7 @@ WalletKey.fromOptions = function fromOptions(options) {
* Instantiate wallet key from a private key. * Instantiate wallet key from a private key.
* @param {Buffer} key * @param {Buffer} key
* @param {Boolean?} compressed * @param {Boolean?} compressed
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
* @returns {WalletKey} * @returns {WalletKey}
*/ */
@ -72,7 +72,7 @@ WalletKey.generate = function(compressed, network) {
/** /**
* Instantiate wallet key from a public key. * Instantiate wallet key from a public key.
* @param {Buffer} publicKey * @param {Buffer} publicKey
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
* @returns {WalletKey} * @returns {WalletKey}
*/ */
@ -83,7 +83,7 @@ WalletKey.fromPublic = function fromPublic(key, network) {
/** /**
* Instantiate wallet key from a public key. * Instantiate wallet key from a public key.
* @param {Buffer} publicKey * @param {Buffer} publicKey
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
* @returns {WalletKey} * @returns {WalletKey}
*/ */
@ -95,7 +95,7 @@ WalletKey.fromKey = function fromKey(key, compressed, network) {
* Instantiate wallet key from script. * Instantiate wallet key from script.
* @param {Buffer} key * @param {Buffer} key
* @param {Script} script * @param {Script} script
* @param {(NetworkType|Network}) network * @param {(NetworkType|Network)} network
* @returns {WalletKey} * @returns {WalletKey}
*/ */