From 713899dd0fdfec2e600eeab58986f9fefcbdb00b Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Wed, 5 Nov 2014 19:28:38 -0500 Subject: Remove files duplicated in `gh-pages' These pages should be tracked by that branch; it is an explicitly separate part of the system. --- auth/hash.js | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 auth/hash.js (limited to 'auth/hash.js') 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"); -} -- cgit v1.2.3