Leaflet/src/Leaflet.js
Simon Legner c5f7dc4ad3 ES2015 modules: Add index.js files to subdirectories/namespace (#5329)
* Add index.js files to subdirectories/namespace

This allows to streamline the import/export in the main file.

* Fix tests by switching to karma-rollup-plugin
2017-02-13 14:14:00 +01:00

33 lines
471 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;
}