Hey,

I'm doing some effort to use the Resource Loader in the Maps extension. A
problem I've run into is that I apparently cannot use things defined in
another module that already loaded. What I'm doing is loading the OpenLayers
library, and then another JS file that uses the OpenLayers library to create
the actual maps on the page. After looking at this with Firebug, I guess
it's a scope issue, as each module's contents is getting put in a function.
Are there currently ways to correctly load such libraries? And if not, what
would be a good way of creating this? Making a new class that derives from
ResourceLoaderModule?

Cheers

--
Jeroen De Dauw
* http://blog.bn2vs.com
* http://wiki.bn2vs.com
Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69
66 65!
--
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to