Node.ELEMENT_NODE undefined
I am running a JavaScript application using OpenLayers for GeoMapping. There are parts of the OpenLayers library that user the DomCore constant Node.ELEMENT_NODE. Under Intellij Node.js configuration this comes up as undefined. This constant is defined in /opt/idea-IU-171.4694.70/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/DOMCore.js but for the live of me I can't get the IDEA to resolve it. Any ideas??
Thank you - Todd
Please sign in to leave a comment.
>Under Intellij Node.js configuration this comes up as undefined.
please can you elaborate on this? do you have issues resolving it in runtime, or it's marked as not resolved in editor? Code snippets that show up the issue plus screenshots of the error would be helpful