Instantiating variables from a custom Javascript user library [message #1060385] |
Fri, 24 May 2013 07:43  |
Eclipse User |
|
|
|
I've created a Javascript user library with various custom (object) types etc. When I create a new Javascript file, I can create variables of my custom types and they automatically work with content assist.
In addition, what I want to be able to do is automatically instantiate some variables and make them available in the global scope. For example, 'window' and 'document' variables are available whenever I create a new Javascript file in Eclipse. I tried declaring some variables in my library JS file but they don't appear in the editor.
How can I automatically inject instance variables from my library so they are available globally in the Javascript editor?
Thanks
|
|
|
|
Powered by
FUDForum. Page generated in 0.28154 seconds