I copy pasted
Swiped.init({
query: 'li',
right: 400,
onOpen: function () {
this.destroy(true)
}
});
from the readme and get:

everytime an element is swiped.
But, changing:
if (isRemoveNode) {
this.elem.parentNode.removeChild(this.elem);
}
to
if (isRemoveNode && this.elem.parentNode) {
this.elem.parentNode.removeChild(this.elem);
}
doesnt give out any errors.
I copy pasted
from the readme and get:
everytime an element is swiped.
But, changing:
to
doesnt give out any errors.