Hi, I tried using the latest version but it breaks on a HierarchyRequestError. I tracked down the bug:
Here you call trigger(document, ...), but trigger will add the element to the DOM if it doesn't have a parentNode (which document doesn't) here. The result is a call like document.body.appendChild(document) which breaks.
After downgrading to 0.1.4 this error disappeared.
Hi, I tried using the latest version but it breaks on a HierarchyRequestError. I tracked down the bug:
[Here](https://github.com/MoOx/pjax/blob/6eafcf8dc61742adfb0bc7a0f401a849366f1422/index.js#L139) you call `trigger(document, ...)`, but trigger will add the element to the DOM if it doesn't have a parentNode (which document doesn't) [here](https://github.com/MoOx/pjax/blob/6eafcf8dc61742adfb0bc7a0f401a849366f1422/lib/events/trigger.js#L23). The result is a call like `document.body.appendChild(document)` which breaks.
After downgrading to 0.1.4 this error disappeared.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi, I tried using the latest version but it breaks on a HierarchyRequestError. I tracked down the bug:
Here you call
trigger(document, ...), but trigger will add the element to the DOM if it doesn't have a parentNode (which document doesn't) here. The result is a call likedocument.body.appendChild(document)which breaks.After downgrading to 0.1.4 this error disappeared.
getting this too.
Me, too.
Fix as a PR is always welcome :)
Note: I don't currently use this package and so, do not want to take time for it.
Did this ever get fixed? Getting this too.
Closed by
1d292a1a6ewoohoo!