Commit Graph
23 Commits
Author SHA1 Message Date
Robin North 358b6f6836 Support multiple select fields in form submissions 2018-04-12 18:03:28 -04:00
Robin North d3447a95aa Track npm lockfile 2018-04-12 11:50:58 +01:00
Robin North c1e5bf9c78 Update README 2018-03-15 09:15:13 +00:00
Robin North 05fa833169 loadUrl enhancements (#134)
`loadUrl` enhancements

- Make `options` parameter optional
- Allow partial overriding of instance options when calling `loadUrl` directly
- Make `requestOptions` optional
- Document `loadUrl` usage and provide examples
2018-03-06 10:06:38 +00:00
Robin North f98f2dd63b Add tests for update-query-string 2018-03-04 15:12:53 +00:00
Robin North 07baae8e4d Fix form submission (#129)
* Fix check for radio and checkbox inputs

* Fix GET form submission

* Add example forms for testing

* Refactor query string building
2018-03-02 20:25:08 +00:00
Robin North 63bc2af226 Remove redundant comment 2018-01-29 20:06:33 +00:00
Robin North 20e987929e Merge pull request #116 from MoOx/fix/blur
Fix element blurring (removing focus). Closes #4.
2018-01-29 20:03:24 +00:00
Robin North 8718da35c6 Opt in to manual scroll restoration in browsers that support it 2018-01-28 14:35:25 +00:00
Robin North 31e1e7e405 Enable test for document.write in eval'd scripts 2018-01-26 15:54:07 +00:00
Robin North 05163d9fb5 Stop dispatching extraneous pjax:complete events, correct typo 2018-01-26 15:53:07 +00:00
Robin North a15c94c55a Merge pull request #113 from MoOx/cleanup/analytics
Cleanup default analytics function
2018-01-25 07:50:59 +00:00
Robin North 01fb72ceeb Simplify options assignment 2018-01-24 23:40:05 +00:00
Robin North f642eec047 Preserve ability to disable analytics behavior, explicitly document this option 2018-01-24 23:38:34 +00:00
Robin North cc384b9b16 Improve check for analytics function option 2018-01-24 23:35:45 +00:00
Robin North f559ca2914 Cleanup default analytics function 2018-01-24 23:35:45 +00:00
Robin North 137322543c Explicitly flag if aborting a request fails due to request completing 2018-01-24 23:20:36 +00:00
Robin North f7f68b2e50 Fix module filename 2018-01-24 23:15:40 +00:00
Robin North ff62289683 Make use of new noop module 2018-01-24 14:51:16 +00:00
Robin North 486ef0e0ba Abort previous pending XHR when navigating 2018-01-23 15:25:56 +00:00
Robin North ca61c4a840 Fix incorrect main field in npm package (#105)
Point npm package `main` field at module source
2018-01-18 20:55:27 -05:00
Robin North cd09cc88d1 Replace instances of ES6 const keyword with var 2018-01-18 16:00:24 -05:00
Robin North b98e3ef914 Fix DOMException in switchElementsAlt()
Clone attribute nodes before setting on `oldEl` to prevent the following error:

```
DOMException: Failed to execute 'setNamedItem' on 'NamedNodeMap': The node provided is an attribute node that is already an attribute of another Element; attribute nodes must be explicitly cloned.
```
2018-01-17 17:07:02 -05:00