summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Vladimir Shabanov <vshabanoff@gmail.com>2012-10-22 01:49:22 +0400
committerGravatar Vladimir Shabanov <vshabanoff@gmail.com>2012-10-22 01:49:22 +0400
commitfb74c5b8555331c1c37c1734c4aa02a99f207ac6 (patch)
treeb74cd855efbbd1816a28cfa5f708d99b67d6f9f0 /lib
parentef7aaacefa605e8714ba36886d742aa3ec73edbf (diff)
Removed unused parent() function which conflicts with window.parent.
Diffstat (limited to 'lib')
-rw-r--r--lib/js/urweb.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index a7fed038..57a03fb2 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -700,10 +700,6 @@ function lastParent() {
var thisScript = null;
-function parent() {
- return thisScript ? thisScript.parentNode : lastParent();
-}
-
function addNode(node) {
if (thisScript) {
if (thisScript.parentNode)