Expose public interfaces

This commit is contained in:
Raul Ochoa 2014-12-09 17:59:59 +01:00
parent e1e928733f
commit d44b2db551

View File

@ -1,6 +1,17 @@
module.exports = require('./core');
if (typeof module !== "undefined") {
module.exports = {
cartocss_reference: require('./cartocss_reference').torque['torque-reference']
};
}
module.exports.Animator = require('./animator');
module.exports.cartocss_reference = require('./cartocss_reference');
module.exports.common = require('./common');
module.exports.math = require('./math');
module.exports.Mercator = require('./mercator');
module.exports.net = require('./request');
module.exports.renderer = require('./renderer');
module.exports.providers = require('./provider');
require('./leaflet');
var gmaps = require('./gmaps');
module.exports.GMapsTileLoader = gmaps.GMapsTileLoader;
module.exports.GMapsTiledTorqueLayer = gmaps.GMapsTiledTorqueLayer;
module.exports.GMapsTiledTorqueLayer = gmaps.GMapsTiledTorqueLayer;