mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-08-05 18:55:04 +00:00
16 lines
281 B
JavaScript
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;
|
|
};
|
|
})(); |