-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add destroy method and fix problem with dynamically loading modules o…
…n slow connections
- Loading branch information
1 parent
d214862
commit 35018c9
Showing
8 changed files
with
5,183 additions
and
164 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
Oops, something went wrong.
35018c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Rik,
This commit produces an error if you do not provide a data-context="", which is the case in many of our projects. I can see that you committed it today so maybe you already know about this.
We love this library at @parallax!
Here is the error since 2.3.2:
Uncaught TypeError: Cannot read property 'split' of undefined
at monitor (conditioner-core.js?a945:316)
at createContextualModule (conditioner-core.js?a945:345)
at createModule (conditioner-core.js?a945:372)
at Array.map ()
at Object.hydrate (conditioner-core.js?a945:380)
at eval (main.js?c45b:28)
at Object. (main.js:520)
at webpack_require (main.js:50)
at main.js:145
at main.js:148
Cheers,
Andy
35018c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick headsup! Fixed in 2.3.3