mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
- 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
6 lines
145 B
JavaScript
6 lines
145 B
JavaScript
module.exports = function UserServiceFactory(AppState) {
|
|
var userService = {}
|
|
userService.currentUser = AppState.user
|
|
return userService
|
|
}
|