mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
16 lines
463 B
JavaScript
16 lines
463 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Services that persists and retrieves user from localStorage.
|
|
*/
|
|
|
|
angular.module('sharedServices', [] ).
|
|
factory("Items", ['$rootScope', function($rootScope){
|
|
return window.habitrpgShared.items;
|
|
}]).
|
|
factory("Algos", ['$rootScope', function($rootScope){
|
|
return window.habitrpgShared.algos;
|
|
}]).
|
|
factory("Helpers", ['$rootScope', function($rootScope){
|
|
return window.habitrpgShared.helpers;
|
|
}]); |