As I said, you don't need to modify it, just supplement it with an extra file which contains the code that adds the references to the window object. Then when creating your ResourceLoaderFileModule you do this
'scripts' => array( 'ext.maps.openLayers.js', 'ext.maps.openLayers.binding.js' ), This will weld the two scripts together before throwing them in a closure. - Trevor On 11/8/10 4:12 PM, Jeroen De Dauw wrote: > Hey, > > Thanks, that works. I'd hoped there would be no need to have a modified > version of the OpenLayers library though :( > > 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 _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
