mirror of
https://github.com/Ekokumppanit/Bicyclesim.git
synced 2026-01-26 11:14:00 +00:00
26 lines
573 B
JavaScript
26 lines
573 B
JavaScript
window.settings = {
|
|
'default_latlng': [61.501043, 23.763035],
|
|
'default_pov': {
|
|
heading: 200,
|
|
pitch: 0,
|
|
zoom: 1
|
|
},
|
|
'debug': false,
|
|
'maps_key': 'AIzaSyDtGhiAnSdg9TaGZC_daNcQe43BS8Ws7Iw',
|
|
'staticmaps_key': 'AIzaSyDtGhiAnSdg9TaGZC_daNcQe43BS8Ws7Iw'
|
|
};
|
|
|
|
if (_.has(localStorage, 'multiplier') && !_.isNumber(localStorage.multiplier)) {
|
|
delete localStorage.multiplier;
|
|
}
|
|
|
|
_.defaults(localStorage, {
|
|
multiplier: 2.5
|
|
});
|
|
|
|
window.debug = function () {
|
|
if (this.console && settings.debug) {
|
|
console.log(Array.prototype.slice.call(arguments));
|
|
}
|
|
};
|