madrobby/zepto — pull request #858 by ingmarh (2013-11-19 23:12:27+00:00)
Title: Remove all associated data values on element removal

Fixes #381. Clean up data that was previously set using `.data()` from the element and its children when it is removed from the DOM using `.remove()` or `.empty()`, but keep the data when the element is only detached from the DOM. Corresponds to jQuery behaviour.