diff options
Diffstat (limited to 'public/javascripts/elmLauncher.js')
-rw-r--r-- | public/javascripts/elmLauncher.js | 13 |
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, " ")); -} |