Files
stf-DeviceFarmer/res/app/components/stf/user/user-service.js
Gunther Brunner e27e17d699 APPSTATE refactoring:
- Make index.html cacheable by being stateless
- Improve compression (base64 doesn't gzip well)
- Remove base64 encoding/decoding step
- Make AppState injectable so it can be unit tested
- Ready to remove the global leakage
2014-08-22 15:04:16 +09:00

6 lines
145 B
JavaScript

module.exports = function UserServiceFactory(AppState) {
var userService = {}
userService.currentUser = AppState.user
return userService
}