aboutsummaryrefslogtreecommitdiff
path: root/auth/hash.js
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-05 19:28:38 -0500
committerSean Allred <code@seanallred.com>2014-11-05 19:28:38 -0500
commit713899dd0fdfec2e600eeab58986f9fefcbdb00b (patch)
treef2f559345b2db1ece1b651493b07093d8b7e49ce /auth/hash.js
parentc12e332149f3183888119701fc3c257af6bd4324 (diff)
Remove files duplicated in `gh-pages'
These pages should be tracked by that branch; it is an explicitly separate part of the system.
Diffstat (limited to 'auth/hash.js')
-rw-r--r--auth/hash.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/auth/hash.js b/auth/hash.js
deleted file mode 100644
index 7cb701a..0000000
--- a/auth/hash.js
+++ /dev/null
@@ -1,12 +0,0 @@
-function getHashValue(key) {
- // http://stackoverflow.com/a/11920807
- return location.hash.match(new RegExp(key+'=([^&]*)'))[1];
-}
-
-function setValue(document_id, hash_key) {
- document.getElementById(document_id).innerHTML = getHashValue(hash_key);
-}
-
-function extractValues() {
- setValue("access-token", "access_token");
-}