metafizzy / outlayer

:construction_worker: the brains & guts of a layout library
163 stars 63 forks source link

Add error checking on parentNode #52

Closed mpickell closed 7 years ago

mpickell commented 7 years ago

Added error checking to block removing from parentNode if element was already removed

This is compiled into the packery code. I was hitting errors where another library had already removed the element from parentNode.

desandro commented 7 years ago

See https://github.com/metafizzy/packery/pull/448#issuecomment-314433277

desandro commented 7 years ago

Merged! Thank you for this contribution. This will be added to the next release of Outlayer, then make its way across Masonry, Isotope & Packery with their next updates.