Closed dancrew32 closed 13 years ago
insertAfter: function (p, node, refNode) { p.insertBefore(node, refNode.nextSibling); },
can be
insertAfter: function (node, refNode) { node.parentNode.insertBefore(node, refNode.nextSibling); },
https://github.com/dancrew32/AWESOME-JS/commit/77e6aa5ee55174e12d403429fdcbaf6fc8203ac2
insertAfter: function (p, node, refNode) { p.insertBefore(node, refNode.nextSibling); },
can be
insertAfter: function (node, refNode) { node.parentNode.insertBefore(node, refNode.nextSibling); },