Commit Graph
7 Commits
Author SHA1 Message Date
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 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