Remove unused Javascript functions

A security scanner flagged the use of `RegExp` with unsanitized input.
Turns out, these functions are no longer used and can be deleted.
This commit is contained in:
Luke Bakken 2025-04-28 12:18:06 -07:00
parent a1ec795184
commit 61b0f152fd
No known key found for this signature in database
GPG Key ID: D99DE30E43EAE440
1 changed files with 0 additions and 9 deletions

View File

@ -81,15 +81,6 @@ function dispatcher() {
}
}
function getParameterByName(name) {
var match = RegExp('[#&]' + name + '=([^&]*)').exec(window.location.hash);
return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
}
function getAccessToken() {
return getParameterByName('access_token');
}
function start_app_login () {
app = new Sammy.Application(function () {
this.get('/', function () {})