diff options
author | bitpshr <mail@bitpshr.net> | 2018-04-20 03:12:04 +0800 |
---|---|---|
committer | bitpshr <mail@bitpshr.net> | 2018-04-20 03:14:00 +0800 |
commit | 8636f3bae547ace7d099a3ed516bf013dfe3858e (patch) | |
tree | 179fd228bbf833709d70ed68b54cbb33c089ebda /app/scripts/popup-core.js | |
parent | 9c7eafc86f1d9d06dd6a5b66ecd2154b09299d03 (diff) | |
download | tangerine-wallet-browser-8636f3bae547ace7d099a3ed516bf013dfe3858e.tar.gz tangerine-wallet-browser-8636f3bae547ace7d099a3ed516bf013dfe3858e.tar.zst tangerine-wallet-browser-8636f3bae547ace7d099a3ed516bf013dfe3858e.zip |
Clean up JSDoc for background scripts
Diffstat (limited to 'app/scripts/popup-core.js')
-rw-r--r-- | app/scripts/popup-core.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/popup-core.js b/app/scripts/popup-core.js index 69fbcf49c..6325b8a8d 100644 --- a/app/scripts/popup-core.js +++ b/app/scripts/popup-core.js @@ -13,7 +13,7 @@ module.exports = initializePopup * Asynchronously initializes the MetaMask popup UI * * @param {{ container: Element, connectionStream: * }} config Popup configuration object - * @param {Function} cb Called when initialization is comlete + * @param {Function} cb Called when initialization is complete */ function initializePopup ({ container, connectionStream }, cb) { // setup app @@ -26,7 +26,7 @@ function initializePopup ({ container, connectionStream }, cb) { /** * Establishes streamed connections to background scripts and a Web3 provider * - * @param {*} connectionStream PortStream instance establishing a background connection + * @param {PortDuplexStream} connectionStream PortStream instance establishing a background connection * @param {Function} cb Called when controller connection is established */ function connectToAccountManager (connectionStream, cb) { @@ -41,7 +41,7 @@ function connectToAccountManager (connectionStream, cb) { /** * Establishes a streamed connection to a Web3 provider * - * @param {*} connectionStream PortStream instance establishing a background connection + * @param {PortDuplexStream} connectionStream PortStream instance establishing a background connection */ function setupWeb3Connection (connectionStream) { var providerStream = new StreamProvider() @@ -56,7 +56,7 @@ function setupWeb3Connection (connectionStream) { /** * Establishes a streamed connection to the background account manager * - * @param {*} connectionStream PortStream instance establishing a background connection + * @param {PortDuplexStream} connectionStream PortStream instance establishing a background connection * @param {Function} cb Called when the remote account manager connection is established */ function setupControllerConnection (connectionStream, cb) { |