x-tag/core — pull request #69 by Jamtis (2014-02-20 21:13:09+00:00)
Title: Added the parent[Node|Element] to element.xtag. During lifecycle.removed...

... the previous parent is available via this.xtag.parent[Node|Element]. Also added test for this.
Fixed #63.
As far as I see the only solution is to store the parentNode in the xtag property.