prototypejs / prototype

Prototype JavaScript framework
http://prototypejs.org/
Other
3.53k stars 639 forks source link

Global.Node has the potential of being overwritten. #343

Open jwestbrook opened 5 years ago

jwestbrook commented 5 years ago

In issue #342 it was discovered that re-using the variable Node in the global space re-writes the Node values that Prototype uses as the general definition of a DOM node.

Unsure what the fix should be - either renaming the variable or namespacing it could work.