mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
16 lines
No EOL
463 B
JavaScript
16 lines
No EOL
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;
|
|
}]); |