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

@ -183,7 +183,7 @@ const captions = {
// Set new caption text
this.elements.captions.appendChild(content);
} else {
this.warn('No captions element to render to');
this.console.warn('No captions element to render to');
}
},