14 lines
358 B
JavaScript
14 lines
358 B
JavaScript
|
|
import { geoLocationHandler } from './map.js';
|
|
import './game.js';
|
|
|
|
feather.replace();
|
|
|
|
(function () {
|
|
if (document.getElementById('map') != undefined)
|
|
geoLocationHandler();
|
|
let start_button = document.querySelector('.game .start-button');
|
|
if (start_button != undefined)
|
|
start_button.addEventListener('click', launchGame);
|
|
}());
|