Add tests and fixes for rehydration

* Barracks must get an initial state or state.location is undefined
* Replaces document.addEventListener w/ pkg handling existing ready doc
This commit is contained in:
Ben Drucker
2016-07-04 16:19:12 -07:00
parent e2f0c5429c
commit e0783320f7
3 changed files with 32 additions and 2 deletions
+1
View File
@@ -25,6 +25,7 @@
"license": "MIT",
"dependencies": {
"barracks": "^7.0.3",
"document-ready": "~1.0.1",
"global": "^4.3.0",
"hash-match": "^1.0.2",
"sheet-router": "^3.1.0",