mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
fix(analytics): Define Analytics on scope
This commit is contained in:
@@ -29,6 +29,7 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
|
|||||||
$rootScope.settings = User.settings;
|
$rootScope.settings = User.settings;
|
||||||
$rootScope.Shared = Shared;
|
$rootScope.Shared = Shared;
|
||||||
$rootScope.Content = Content;
|
$rootScope.Content = Content;
|
||||||
|
$rootScope.Analytics = Analytics;
|
||||||
$rootScope.env = window.env;
|
$rootScope.env = window.env;
|
||||||
$rootScope.Math = Math;
|
$rootScope.Math = Math;
|
||||||
$rootScope.Groups = Groups;
|
$rootScope.Groups = Groups;
|
||||||
|
|||||||
@@ -106,6 +106,7 @@
|
|||||||
"bower_components/angular-loading-bar/build/loading-bar.js",
|
"bower_components/angular-loading-bar/build/loading-bar.js",
|
||||||
"js/env.js",
|
"js/env.js",
|
||||||
"js/static.js",
|
"js/static.js",
|
||||||
|
"js/services/analyticsServices.js",
|
||||||
"js/services/notificationServices.js",
|
"js/services/notificationServices.js",
|
||||||
"common/script/public/userServices.js",
|
"common/script/public/userServices.js",
|
||||||
"js/controllers/authCtrl.js",
|
"js/controllers/authCtrl.js",
|
||||||
@@ -132,6 +133,7 @@
|
|||||||
"bower_components/angular-loading-bar/build/loading-bar.js",
|
"bower_components/angular-loading-bar/build/loading-bar.js",
|
||||||
"js/env.js",
|
"js/env.js",
|
||||||
"js/static.js",
|
"js/static.js",
|
||||||
|
"js/services/analyticsServices.js",
|
||||||
"js/services/notificationServices.js",
|
"js/services/notificationServices.js",
|
||||||
"common/script/public/userServices.js",
|
"common/script/public/userServices.js",
|
||||||
"js/controllers/authCtrl.js",
|
"js/controllers/authCtrl.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user