Skip to content

Commit

Permalink
chore(package): update standard to version 9.0.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] authored and lidel committed Feb 11, 2017
1 parent 8d26162 commit 1cee199
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 11 deletions.
1 change: 0 additions & 1 deletion add-on/src/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@

// init add-on after all libs are loaded
document.addEventListener('DOMContentLoaded', init)

10 changes: 2 additions & 8 deletions add-on/src/lib/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,17 +174,11 @@ function readDnslinkTxtRecordFromApi (fqdn) {
// TODO: find/fill an upstream bug to make this more intuitive
resolve(false)
} else {
reject({
status: this.status,
statusText: xhr.statusText
})
reject(new Error(xhr.statusText))
}
}
xhr.onerror = function () {
reject({
status: this.status,
statusText: xhr.statusText
})
reject(new Error(xhr.statusText))
}
xhr.send()
})
Expand Down
1 change: 0 additions & 1 deletion add-on/src/options/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ document.addEventListener('DOMContentLoaded', readAllOptions)

// update on external changes such as browserAction menu
browser.storage.onChanged.addListener(readAllOptions)

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"sinon": "1.17.7",
"sinon-chai": "2.8.0",
"sinon-chrome": "2.1.2",
"standard": "8.6.0",
"standard": "9.0.0-beta.0",
"web-ext": "1.8.1"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions test/unit/browser.shim.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict'
/* eslint-env browser, webextensions */
/* eslint no-use-before-define: 0 */

// without this shim unit tests fail -- sinon-chrome does not stub browser yet
var browser = browser || chrome

0 comments on commit 1cee199

Please sign in to comment.