1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/app
Mark Stacey 86c6280bc3
Remove unnecessary get environment type parameter (#7891)
* Remove unnecessary `getEnvironmentType` parameter

The default value of the first parameter is `window.location.href`, so
there is no need to pass it in explicitly.

* Remove junk parameter from `getEnvironmentType` invocation

`getEnvironmentType` doesn't need to be passed any parameter, as the
default value is `window.location.href` which is generally what is
wanted. In this case, the variable `location.href` was always
`undefined` anyway. This particular `location` variable is from React
Router, and does not have an `href` property.

* Fix comment for `getEnvironmentType`

One of the possible return values was referred to by the wrong name.
2020-01-24 15:12:58 -04:00
..
_locales Add mechanism to randomize seed phrase filename (#7863) 2020-01-21 21:22:55 -04:00
fonts Update design of phishing warning screen 2019-02-05 13:18:24 -03:30
images Connect distinct accounts per site (#7004) 2019-12-03 13:39:25 -04:00
scripts Remove unnecessary get environment type parameter (#7891) 2020-01-24 15:12:58 -04:00
vendor/trezor Close window after opening fullscreen (#6966) 2019-08-08 11:50:32 -03:00
home.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
manifest.json Version v7.7.0 2019-12-03 13:39:25 -04:00
notification.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
phishing.html Update design of phishing warning screen 2019-02-05 13:18:24 -03:30
popup.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00
unsupport.html Rename files 2018-05-29 12:44:37 +08:00