Created
August 26, 2015 09:22
-
-
Save Retozi/272d0cb1042429935451 to your computer and use it in GitHub Desktop.
Action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class RECEIVE_LANGUAGES extends McParky.NewRequestAction<GlobalAppStore.State> { | |
constructor() { | |
super(Http.getLanguages()); | |
} | |
write(state: GlobalAppStore.State): void { | |
state.languages = LanguagesState.writeReceiveLanguages(GlobalAppStore.copy(state.languages), this.res); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment