Files
leaflet/src/env.js

16 lines
281 B
JavaScript

/*
* Leaflet namespace config, allows using any global variable instead of L & restoring the original value
*/
(function() {
var originalL = window.L;
L = {
version: '0.0.1'
};
L.noConflict = function() {
window.L = originalL;
return this;
};
})();