@curtissimo/elm-hot 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG +5 -0
- package/package.json +2 -2
- package/resources/hmr.js +0 -2
package/CHANGELOG
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.8
|
|
4
|
+
- Remove the error check for when Nav Key moves
|
|
5
|
+
(See [GitHub issue 46](https://github.com/klazuka/elm-hot/pull/46/files)
|
|
6
|
+
created on 3 December 2020)
|
|
7
|
+
|
|
3
8
|
## 1.1.7
|
|
4
9
|
- Remove the use of `eval` in the code
|
|
5
10
|
- Format JavaScript files
|
package/package.json
CHANGED
package/resources/hmr.js
CHANGED
|
@@ -414,8 +414,6 @@ if (module.hot) {
|
|
|
414
414
|
error = "could not find Browser.Navigation.Key in the new app model";
|
|
415
415
|
} else if (oldKeyLoc === null) {
|
|
416
416
|
error = "could not find Browser.Navigation.Key in the old app model.";
|
|
417
|
-
} else if (newKeyLoc.keypath.toString() !== oldKeyLoc.keypath.toString()) {
|
|
418
|
-
error = "the location of the Browser.Navigation.Key in the model has changed.";
|
|
419
417
|
} else {
|
|
420
418
|
// remove event listeners attached to the old nav key
|
|
421
419
|
removeNavKeyListeners(oldKeyLoc.value);
|