2 //= require_tree ./engines
4 OSM.directionsEngines = [];
6 OSM.directionsEngines.add = function (engine, supportsHTTPS) {
7 if (location.protocol === "http:" || supportsHTTPS) {
8 engine.id = engine.provider + "_" + engine.mode;
9 OSM.directionsEngines.push(engine);