Hi lists,
There are two script links on my page:
/
/
I have classic module pattern:
/console.log(OpenLayers); //Object
var MAP = ( function (ol) {
console.log(OpenLayers); //Object
---body---
return Object.seal({
console.log(OpenLayers); //Object
---object---
});
}(OpenLayers)); //Uncaught ReferenceError: OpenLayers is not defined
console.log(OpenLayers); //Object/
Am I missing something obvious here?
Thanks,
Tom
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/OL-object-as-an-IIFE-argument-tp5018762.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users