Mark Stacey
ac01c5c89a
Consistent jsdoc syntax ( #7755 )
...
* Specify type before parameter name
Various JSDoc `@param` entries were specified as `name {type}` rather
than `{type} name`.
A couple of `@return` entries have been given types as well.
* Use JSDoc optional syntax rather than Closure syntax
* Use @returns rather than @return
* Use consistent built-in type capitalization
Primitive types are lower-case, and Object is upper-case.
* Separate param/return description with a dash
5 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
Whymarrh Whitby
274a9ecf53
yarn lint --fix
5 years ago
Whymarrh Whitby
aa41057628
Update ESLint rules for curly braces style ( #7477 )
...
* eslint: Enable curly and brace-style
* yarn lint --fix
5 years ago
William Monti Souza
98699fbbc0
Fixes popups not showing when screen size is odd ( #6312 )
6 years ago
Whymarrh Whitby
ea34d3b0ff
Centre the notification in the current window ( #6307 )
6 years ago
Whymarrh Whitby
5bf8a36a87
Centre all notification popups
6 years ago
bitpshr
badf0ce314
Conditionally use Promise-based extension API when creating windows
7 years ago
vittominacori
ff3c262621
set the popup id returned by create promise
7 years ago
vittominacori
4c1b526137
set an id to the metamask notification popup
7 years ago
Dan
6bc8cc819a
Merge branch 'develop' into i3725-refactor-send-component-
7 years ago
Dan
3ec22dc7e1
Notification manager method docs.
7 years ago
Dan
9f12c26d44
Even more documentation for various controllers and libs.
7 years ago
Jeffrey Tong
4f853bbd3c
remove console log
7 years ago
Jeffrey Tong
bda493dc9d
add comments that need clarification on naming convention
7 years ago
Jeffrey Tong
aaef2aeefd
fixed multiple notification windows when executing batch
7 years ago
Jeffrey Tong
40b1688c67
removed check for width & height on multiple popup windows
7 years ago
Chi Kei Chan
fa95303e1e
Sign Typed Request styling fixes
7 years ago
Dan
ddf11011c9
Signature request fixes.
7 years ago
kumavis
6ace0c9afb
notification-manager - remove promise listener
...
seems chrome changed their API?
MDN suggests that a Promise should be returned but getting `undefined`
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/windows/create
Chrome docs suggest its a callback API lolwut
https://developer.chrome.com/extensions/windows#method-create
8 years ago
Thomas Huang
6bdb4c8728
Fix linting warnings
8 years ago
kumavis
86e882c51a
notification-manager - rename show -> showPoup + make getPopup private
8 years ago
kumavis
5036263f88
introduce platform api and rename notifications to notification-manager
8 years ago