Commit Graph
8 Commits
Author SHA1 Message Date
darylteo 477d967804 Add clone and executeScripts as well 2016-01-05 15:02:39 +11:00
darylteo e882b8639a Use required forEachElse 2016-01-05 15:02:00 +11:00
darylteo 3d25bee131 Bind required functions to pjax 2016-01-05 14:22:03 +11:00
darylteo 47059bdb04 Add test for switch selectors 2016-01-05 14:12:52 +11:00
darylteo 791400ed20 Tests for #5 2016-01-04 23:45:25 +11:00
darylteo 97c8b2d749 [NEW] #5 Ignore default prevented clicks 2016-01-04 23:19:36 +11:00
darylteo b156a4f389 [TEST] Test for #39 2016-01-04 22:52:30 +11:00
darylteo 1d292a1a6e [FIX] #39 - events on top level
Events triggered on top level elements (such as window or document)
lead to a HierarchyRequestError due to a fix in IE browsers
where dispatchEvent does not fire if an element is not in the DOM.

The current test is simply to check for the existence of parentNode
However, this means top level elements get added to itself, causing
the error.

The proposed fix simply tests for top level elements in the test.
2016-01-04 22:30:00 +11:00