MediaWiki:Gadget-leaflet-fullscreen.js: Difference between revisions

Comment out some factory code
(Original file with version added to the top)
 
(Comment out some factory code)
 
Line 5:
*/
(function (root, factory) {
// if (typeof define === 'function' && define.amd) {
// define an AMD module that requires 'leaflet'
// and resolve to an object containing leaflet
// define('leafletFullScreen', ['leaflet'], factory);
// } else if (typeof module === 'object' && module.exports) {
// define a CommonJS module that requires 'leaflet'
// module.exports = factory(require('leaflet'));
// } else {
// Assume 'leaflet' are loaded into global variable already
factory(root.L);
// }
}(typeof self !== 'undefined'
? self