From 898e7ed11ab0958fcdaf65b99b33f7b04787630a Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 24 Sep 2017 22:14:48 +0200 Subject: Bootstrap with GHCJS and reflex: - setup login and logout, - first draft of payment view. --- public/javascript/.gitkeep | 0 public/javascripts/.gitkeep | 0 public/javascripts/main.js | 17 ----------------- 3 files changed, 17 deletions(-) create mode 100644 public/javascript/.gitkeep delete mode 100644 public/javascripts/.gitkeep delete mode 100644 public/javascripts/main.js (limited to 'public') diff --git a/public/javascript/.gitkeep b/public/javascript/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/public/javascripts/.gitkeep b/public/javascripts/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/public/javascripts/main.js b/public/javascripts/main.js deleted file mode 100644 index 3c3d797..0000000 --- a/public/javascripts/main.js +++ /dev/null @@ -1,17 +0,0 @@ -// Remove search query -window.history.pushState( - { - html: document.documentElement.innerHTML, - pageTitle: document.title - }, - '', - document.location.pathname + document.location.hash -); - -var app = Elm.Main.fullscreen({ - time: new Date().getTime(), - translations: JSON.parse(document.getElementById('translations').innerHTML), - conf: JSON.parse(document.getElementById('conf').innerHTML), - result: JSON.parse(document.getElementById('result').innerHTML), - windowSize: { width: window.innerWidth, height: window.innerHeight } -}); -- cgit v1.2.3