This repository has been archived by the owner on Jul 28, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor click handling, link checking, and url parsing into classes;…
… ensure absolute urls used for cache keys and state objects.
- Loading branch information
Showing
2 changed files
with
128 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checking for the name of the constructor breaks when using uglifier to compress in the rails asset pipeline. This is because the class name of CompnentUrl is minified while the string is not changed. This means that when a component url is passed in from fetch -> reflectNewUrl it gets double converted into a ComponentUrl and breaks the url passed to window.history.pushState