Sha256: 7176eb3680ecd5ed2fc754ec1dbab00745651ddffa8cacd22909242f03ab0808

Contents?: true

Size: 524 Bytes

Versions: 3

Compression:

Stored size: 524 Bytes

Contents

var oldL = window.L,
    L = {};

L.version = '0.7.7';

// define Leaflet for Node module pattern loaders, including Browserify
if (typeof module === 'object' && typeof module.exports === 'object') {
	module.exports = L;

// define Leaflet as an AMD module
} else if (typeof define === 'function' && define.amd) {
	define(L);
}

// define Leaflet as a global L variable, saving the original L to restore later if needed

L.noConflict = function () {
	window.L = oldL;
	return this;
};

window.L = L;

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
leaflet-js-0.7.9 vendor/assets/Leaflet/src/Leaflet.js
leaflet-js-0.7.8 vendor/assets/Leaflet/src/Leaflet.js
leaflet-js-0.7.7 vendor/assets/Leaflet/src/Leaflet.js