Skip to content

Commit 467601a

Browse files
Merge pull request #13822 from rabbitmq/lukebakken/delete-unused-js
Remove unused Javascript functions
2 parents 41e7306 + 61b0f15 commit 467601a

File tree

1 file changed

+0
-9
lines changed
  • deps/rabbitmq_management/priv/www/js

1 file changed

+0
-9
lines changed

deps/rabbitmq_management/priv/www/js/main.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,6 @@ function dispatcher() {
8181
}
8282
}
8383

84-
function getParameterByName(name) {
85-
var match = RegExp('[#&]' + name + '=([^&]*)').exec(window.location.hash);
86-
return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
87-
}
88-
89-
function getAccessToken() {
90-
return getParameterByName('access_token');
91-
}
92-
9384
function start_app_login () {
9485
app = new Sammy.Application(function () {
9586
this.get('/', function () {})

0 commit comments

Comments
 (0)