mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
fix(analytics): Define Analytics on scope
This commit is contained in:
parent
2ce1daffb8
commit
f5dfa5f015
2 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
|
|||
$rootScope.settings = User.settings;
|
||||
$rootScope.Shared = Shared;
|
||||
$rootScope.Content = Content;
|
||||
$rootScope.Analytics = Analytics;
|
||||
$rootScope.env = window.env;
|
||||
$rootScope.Math = Math;
|
||||
$rootScope.Groups = Groups;
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@
|
|||
"bower_components/angular-loading-bar/build/loading-bar.js",
|
||||
"js/env.js",
|
||||
"js/static.js",
|
||||
"js/services/analyticsServices.js",
|
||||
"js/services/notificationServices.js",
|
||||
"common/script/public/userServices.js",
|
||||
"js/controllers/authCtrl.js",
|
||||
|
|
@ -132,6 +133,7 @@
|
|||
"bower_components/angular-loading-bar/build/loading-bar.js",
|
||||
"js/env.js",
|
||||
"js/static.js",
|
||||
"js/services/analyticsServices.js",
|
||||
"js/services/notificationServices.js",
|
||||
"common/script/public/userServices.js",
|
||||
"js/controllers/authCtrl.js",
|
||||
|
|
|
|||
Loading…
Reference in a new issue