MediaWiki:Gadget-leaflet-fullscreen.js: Difference between revisions
MediaWiki:Gadget-leaflet-fullscreen.js (view source)
Revision as of 19:34, 23 November 2024
, 23 NovemberComment out some factory code
(Original file with version added to the top) |
(Comment out some factory code) |
||
Line 5:
*/
(function (root, factory) {
// define an AMD module that requires 'leaflet'
// and resolve to an object containing leaflet
// define('leafletFullScreen', ['leaflet'], factory);
// define a CommonJS module that requires 'leaflet'
// module.exports = factory(require('leaflet'));
// Assume 'leaflet' are loaded into global variable already
factory(root.L);
}(typeof self !== 'undefined'
? self
|