aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/elmLauncher.js
diff options
context:
space:
mode:
authorJoris2015-12-29 22:38:42 +0100
committerJoris2015-12-29 22:38:42 +0100
commita7db22556b91bc7c499e010b4c051f4442ad8ce2 (patch)
tree9f991523cee681bf179c191260b95672f1c44def /public/javascripts/elmLauncher.js
parentc79fa3e212e8bb49f950da3c3218e32e3b9df2ec (diff)
downloadbudget-a7db22556b91bc7c499e010b4c051f4442ad8ce2.tar.gz
budget-a7db22556b91bc7c499e010b4c051f4442ad8ce2.tar.bz2
budget-a7db22556b91bc7c499e010b4c051f4442ad8ce2.zip
Using persona to validate emails
Diffstat (limited to 'public/javascripts/elmLauncher.js')
-rw-r--r--public/javascripts/elmLauncher.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/public/javascripts/elmLauncher.js b/public/javascripts/elmLauncher.js
deleted file mode 100644
index bdcb479..0000000
--- a/public/javascripts/elmLauncher.js
+++ /dev/null
@@ -1,13 +0,0 @@
-Elm.fullscreen(Elm.Main, {
- signInError: getParameterByName('signInError'),
- initialTime: new Date().getTime(),
- translations: document.getElementById('messages').innerHTML,
- config: document.getElementById('config').innerHTML
-});
-
-function getParameterByName(name) {
- name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
- var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
- results = regex.exec(location.search);
- return results && decodeURIComponent(results[1].replace(/\+/g, " "));
-}