Moved console methods out of the root of the object

This commit is contained in:
Sam Potts
2017-11-09 20:01:13 +11:00
parent 66917fd39b
commit 4879bea4a0
11 changed files with 41 additions and 36 deletions

View File

@ -16,7 +16,7 @@ const media = {
setup() {
// If there's no media, bail
if (!this.media) {
this.warn('No media element found!');
this.console.warn('No media element found!');
return;
}
@ -105,7 +105,7 @@ const media = {
this.media.load();
// Debugging
this.log('Cancelled network requests');
this.console.log('Cancelled network requests');
},
};