Update standard to version 10.0.0 🚀 (#468)

* chore(package): update standard to version 10.0.0

https://greenkeeper.io/

* appease the standard gods
This commit is contained in:
Greenkeeper
2017-04-07 18:19:23 +02:00
committed by Yoshua Wuyts
parent 281b351d42
commit 1cec8bbf22
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -8,11 +8,12 @@ module.exports = history
function history (cb) {
assert.equal(typeof cb, 'function', 'sheet-router/history: cb must be a function')
window.onpopstate = function () {
cb({
var obj = {
pathname: document.location.pathname,
search: document.location.search,
href: document.location.href,
hash: document.location.hash
})
}
cb(obj)
}
}