Early work on Mapp, will move to Github or Gitlab if something becomes of it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
302 B

6 years ago
  1. console.log("API:", mappBoard);
  2. document.addEventListener("DOMContentLoaded", function() {
  3. var board = new mappBoard.Board("container");
  4. window.addEventListener('resize', () => board.resize(window.innerWidth, window.innerHeight), false);
  5. board.resize(window.innerWidth, window.innerHeight);
  6. });