Commit Graph
3 Commits
Author SHA1 Message Date
Robin North f6d78c1655 Point npm package main field at module source 2018-01-18 23:30:56 +00:00
Robin North d825ada704 Fix incorrect main field in npm package 2018-01-18 19:38:42 +00: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