-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
44 additions
and
34 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
export class About { | ||
actors = [ | ||
{ | ||
'name': 'Bryan Cranston', | ||
'episodes': 62, | ||
'description': 'Bryan Cranston played the role of Walter in Breaking Bad. He is also known for playing Hal in Malcom in the Middle.', | ||
'image': 'bryan-cranston.jpg' | ||
}, { | ||
'name': 'Aaron Paul', | ||
'episodes': 62, | ||
'description': 'Aaron Paul played the role of Jesse in Breaking Bad. He also featured in the "Need For Speed" Movie.', | ||
'image': 'aaron-paul.jpg' | ||
}, { | ||
'name': 'Bob Odenkirk', | ||
'episodes': 62, | ||
'description': 'Bob Odenkrik played the role of Saul in Breaking Bad. Due to public fondness for the character, Bob stars in his own show now, called "Better Call Saul".', | ||
'image': 'bob-odenkirk.jpg' | ||
} | ||
]; | ||
|
||
attached() { | ||
// let bridge = System.get(System.normalizeSync('aurelia-materialize-bridge')); | ||
// this.version = bridge.version; | ||
this.version = '0.10.0'; | ||
} | ||
|
||
onSelectionChanged(e) { | ||
let selected = this.list.getSelected(); | ||
let names = selected.map(i => i.name); | ||
this.logger.log('selection changed: ' + names.join(', ')); | ||
// this.logger.log(`selection changed ${e.detail.item.name}`); | ||
} | ||
} | ||
export class About { | ||
actors = [ | ||
{ | ||
'name': 'Bryan Cranston', | ||
'episodes': 62, | ||
'description': 'Bryan Cranston played the role of Walter in Breaking Bad. He is also known for playing Hal in Malcom in the Middle.', | ||
'image': 'bryan-cranston.jpg' | ||
}, { | ||
'name': 'Aaron Paul', | ||
'episodes': 62, | ||
'description': 'Aaron Paul played the role of Jesse in Breaking Bad. He also featured in the "Need For Speed" Movie.', | ||
'image': 'aaron-paul.jpg' | ||
}, { | ||
'name': 'Bob Odenkirk', | ||
'episodes': 62, | ||
'description': 'Bob Odenkrik played the role of Saul in Breaking Bad. Due to public fondness for the character, Bob stars in his own show now, called "Better Call Saul".', | ||
'image': 'bob-odenkirk.jpg' | ||
} | ||
]; | ||
|
||
attached() { | ||
// let bridge = System.get(System.normalizeSync('aurelia-materialize-bridge')); | ||
// this.version = bridge.version; | ||
this.version = '0.10.1'; | ||
} | ||
|
||
onSelectionChanged(e) { | ||
let selected = this.list.getSelected(); | ||
let names = selected.map(i => i.name); | ||
this.logger.log('selection changed: ' + names.join(', ')); | ||
// this.logger.log(`selection changed ${e.detail.item.name}`); | ||
} | ||
} |