9 lines
153 B
JavaScript
9 lines
153 B
JavaScript
function remove() {
|
|
var parent = this.parentNode;
|
|
if (parent) parent.removeChild(this);
|
|
}
|
|
|
|
export default function() {
|
|
return this.each(remove);
|
|
}
|