Readme example error #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I try to implement the demo in the readme (sideBySide switch) I get an error.
This error only happens with using sideBySide switch
using outerHtml or innerHtml does not throw this error. I'm using the latest Chrome browser.
Sorry for that bug, I'm working on a branch to test the entire library but right now I'm focused on something else.
I think I found the bug here.
Can you try adding
var forEach = Array.prototype.forEachin the global scope & confirm me that this snippet fix this bug ?that fixed the undefined error but now I'm getting:
Pjax switch fail: TypeError {stack: (...), message: "Cannot read property 'callbacks' of undefined"}
I published that part without any serious tests :/
Here is how I'm using pjax v0.1.x
147ccd6ff5/src/assets/_scripts/vanilla.js (L47-L84)This should help you to get necessary stuff.
For the styles, here is what I'm using
24e851a8f5/src/assets/_styles/partials/_animation.scssFixes should be available in 0.1.4