refactor at app.js to remove troublesome console.log()

This commit is contained in:
Carlos 2017-08-30 15:39:48 +02:00
parent 1721509ce4
commit aeaa417a4e
1 changed files with 1 additions and 4 deletions

View File

@ -8,10 +8,7 @@ import {module} from '../module';
*/
export default class App {
show(message) {
if (this.snackbar)
this.snackbar.show({message: message});
else
console.log(message);
if (this.snackbar) this.snackbar.show({message: message});
}
showMessage(message) {
this.show(message);