Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Oct 28, 2019
1 parent d76955c commit d4c490c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/scripts/controllers/permissions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class PermissionsController {

constructor (
{
openPopup, closePopup, notifyDomain, notifyAllDomains, keyringController
openPopup, closePopup, notifyDomain, notifyAllDomains, keyringController,
} = {},
restoredPermissions = {},
restoredState = {}) {
Expand Down Expand Up @@ -144,7 +144,7 @@ class PermissionsController {

this.notifyDomain(origin, {
method: ACCOUNTS_CHANGED_NOTIFICATION,
result: accounts
result: accounts,
})
}

Expand Down Expand Up @@ -258,7 +258,7 @@ class PermissionsController {
this.permissions.clearDomains()
this.notifyAllDomains({
method: ACCOUNTS_CHANGED_NOTIFICATION,
result: []
result: [],
})
}

Expand Down
8 changes: 4 additions & 4 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ module.exports = class MetamaskController extends EventEmitter {
* Adds a reference to a connection by origin. Ignores the 'MetaMask' origin.
* Caller must ensure that the returned id is stored such that the reference
* can be deleted later.
*
*
* @param {string} origin - The connection's origin string.
* @param {Object} options - Data associated with the connection
* @param {Object} options.engine - The connection's JSON Rpc Engine
Expand All @@ -1514,7 +1514,7 @@ module.exports = class MetamaskController extends EventEmitter {
/**
* Deletes a reference to a connection, by origin and id.
* Ignores unknown origins.
*
*
* @param {string} origin - The connection's origin string.
* @param {string} id - The connection's id, as returned from addConnection.
*/
Expand All @@ -1534,7 +1534,7 @@ module.exports = class MetamaskController extends EventEmitter {
* Causes the RPC engines associated with the connections to the given origin
* to emit a notification event with the given payload.
* Ignores unknown origins.
*
*
* @param {string} origin - The connection's origin string.
* @param {any} payload - The event payload.
*/
Expand All @@ -1551,7 +1551,7 @@ module.exports = class MetamaskController extends EventEmitter {
/**
* Causes the RPC engines associated with all connections to emit a
* notification event with the given payload.
*
*
* @param {any} payload - The event payload.
*/
notifyAllConnections (payload) {
Expand Down

0 comments on commit d4c490c

Please sign in to comment.