mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
* chore(eslint): update esllint and remove unused variables
* chore(eslint-config): change no-unused-vars to warn * chore(eslint): remove unused variables * chore(eslint): allow unused globals * fixup! chore(eslint): allow unused globals * chore(eslint): remove commented unused vars * fixup! chore(eslint): remove commented unused vars
This commit is contained in:
parent
46da95ecfb
commit
e58acd7dd6
67 changed files with 121 additions and 146 deletions
|
@ -48,7 +48,7 @@ function initAnalytics(Analytics, $rootScope) {
|
|||
Analytics.offline(false);
|
||||
Analytics.registerScriptTags();
|
||||
Analytics.registerTrackers();
|
||||
$rootScope.$on('$stateChangeSuccess', function (event, toState, toParams, fromState, fromParams) {
|
||||
$rootScope.$on('$stateChangeSuccess', function (event, toState) {
|
||||
Analytics.trackPage(toState.url);
|
||||
Analytics.pageView();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue