mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Linted
This commit is contained in:
parent
7b87afb4b7
commit
22754e3e1f
@ -2,6 +2,7 @@ const ObservableStore = require('obs-store')
|
|||||||
const normalizeAddress = require('eth-sig-util').normalize
|
const normalizeAddress = require('eth-sig-util').normalize
|
||||||
const extend = require('xtend')
|
const extend = require('xtend')
|
||||||
const notifier = require('../lib/bug-notifier')
|
const notifier = require('../lib/bug-notifier')
|
||||||
|
const log = require('loglevel')
|
||||||
const { version } = require('../../manifest.json')
|
const { version } = require('../../manifest.json')
|
||||||
|
|
||||||
class PreferencesController {
|
class PreferencesController {
|
||||||
|
@ -9,7 +9,7 @@ function postData(uri, data) {
|
|||||||
body: JSON.stringify(data), // must match 'Content-Type' header
|
body: JSON.stringify(data), // must match 'Content-Type' header
|
||||||
credentials: 'same-origin', // include, same-origin, *omit
|
credentials: 'same-origin', // include, same-origin, *omit
|
||||||
headers: {
|
headers: {
|
||||||
'content-type': 'application/json'
|
'content-type': 'application/json',
|
||||||
},
|
},
|
||||||
method: 'POST', // *GET, POST, PUT, DELETE, etc.
|
method: 'POST', // *GET, POST, PUT, DELETE, etc.
|
||||||
mode: 'cors', // no-cors, cors, *same-origin
|
mode: 'cors', // no-cors, cors, *same-origin
|
||||||
|
Loading…
Reference in New Issue
Block a user