Skip to content

Instantly share code, notes, and snippets.

@jessecogollo
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jessecogollo/ffd046b5d8a299d1f623 to your computer and use it in GitHub Desktop.
Save jessecogollo/ffd046b5d8a299d1f623 to your computer and use it in GitHub Desktop.
welcome.js (Proyecto base aurelia.io) Antes app.js
export class Welcome{
constructor(){
this.heading = 'Welcome to the Aurelia Navigation App!';
this.firstName = 'John';
this.lastName = 'Doe';
}
get fullName(){
return `${this.firstName} ${this.lastName}`;
}
welcome(){
alert(`Welcome, ${this.fullName}!`);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment