Leaflet/src/Leaflet.js
Vladimir Agafonkin 957f05da23 fix non-extendable objects regression of 1.1.0
Closes #5650 until we figure out a less hacky solution.
2017-07-27 11:03:51 +03:00

39 lines
608 B
JavaScript

import {version} from '../package.json';
export {version};
// control
export * from './control/index';
// core
export * from './core/index';
// dom
export * from './dom/index';
// geometry
export * from './geometry/index';
// geo
export * from './geo/index';
// layer
export * from './layer/index';
// map
export * from './map/index';
// misc
var oldL = window.L;
export function noConflict() {
window.L = oldL;
return this;
}
// Always export us to window global (see #2364)
window.L = exports;
import {freeze} from './core/Util';
Object.freeze = freeze;