From 475f1797e13c21891e112f468720d5b03409fc4b Mon Sep 17 00:00:00 2001 From: Juriy Zaytsev Date: Wed, 30 Dec 2009 01:45:59 -0500 Subject: [PATCH] No need to check for `window.Node`, since `var Node` already declares it if missing. --- src/dom/dom.js | 2 +- vendor/pdoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dom/dom.js b/src/dom/dom.js index 3756607..86f3b77 100644 --- a/src/dom/dom.js +++ b/src/dom/dom.js @@ -38,7 +38,7 @@ if (Prototype.BrowserFeatures.XPath) { /*--------------------------------------------------------------------------*/ -if (!window.Node) var Node = { }; +if (!Node) var Node = { }; if (!Node.ELEMENT_NODE) { // DOM level 2 ECMAScript Language Binding diff --git a/vendor/pdoc b/vendor/pdoc index e429027..147250b 160000 --- a/vendor/pdoc +++ b/vendor/pdoc @@ -1 +1 @@ -Subproject commit e4290279a1d42bc02b09b234291a2d05c0134a43 +Subproject commit 147250bd65eed627e32ca5a70b57fe4f7803ab4b