diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-09-12 03:12:35 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-09-12 03:12:35 +0800 |
commit | 13bc46d8243b434268db04b58500720b4884a969 (patch) | |
tree | ee2205f50b8d9f7a771e3b31af81019c0d75f869 /app | |
parent | f157d5371a6559937878184e5f929ec4bdd14c6d (diff) | |
download | tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar.gz tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar.bz2 tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar.lz tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar.xz tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar.zst tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.zip |
Default NoticeController ctor opts to empty obj
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/notice-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/notice-controller.js b/app/scripts/notice-controller.js index 2def4371e..ce686d9d1 100644 --- a/app/scripts/notice-controller.js +++ b/app/scripts/notice-controller.js @@ -7,7 +7,7 @@ const uniqBy = require('lodash.uniqby') module.exports = class NoticeController extends EventEmitter { - constructor (opts) { + constructor (opts = {}) { super() this.noticePoller = null this.firstVersion = opts.firstVersion |