Check if window object exists (#100)

* Check if window object exists

* brackets for readability

* change check to isUndefined()

* isUndefined() -> !isUndefined()
This commit is contained in:
Stefanie Doll
2019-03-21 11:11:14 +01:00
committed by Jaco Greeff
parent 5a5200729f
commit 71a649c428
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -10,6 +10,7 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/util": "^0.39.1",
"@types/store": "^2.0.1",
"store": "^2.0.12"
}