Merge pull request #13822 from rabbitmq/lukebakken/delete-unused-js
Remove unused Javascript functions
This commit is contained in:
commit
467601a62d
|
@ -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 () {
|
function start_app_login () {
|
||||||
app = new Sammy.Application(function () {
|
app = new Sammy.Application(function () {
|
||||||
this.get('/', function () {})
|
this.get('/', function () {})
|
||||||
|
|
Loading…
Reference in New Issue