Created
September 26, 2017 04:16
-
-
Save chanakaDe/9d5260fa2142ce3db8206ad93f1f3d64 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import {autoinject} from 'aurelia-framework'; | |
import {HttpClient} from "aurelia-fetch-client"; | |
import {Steam} from './steam'; | |
import {BaseI18N} from 'aurelia-i18n'; | |
@autoinject | |
export class Producers extends BaseI18N { | |
producers = 'Producers Page!'; | |
steam:Steam; | |
users = []; | |
selectedUser = ""; | |
login_status = false; | |
welcome_msg = ""; | |
//constructor(steam:Steam , i18n : BaseI18N) { | |
// this.steam = steam; | |
// this.i18n = BaseI18N | |
//} | |
activate() { | |
this.getProducers(); | |
this.login_status = this.steam.loginp(); | |
console.log("LOGIN STATUS in producers : ", this.login_status); | |
this.welcome_msg = this.i18n.tr('welcome'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment