Moved console methods out of the root of the object
This commit is contained in:
@ -26,7 +26,7 @@ const source = {
|
||||
// Sources are not checked for support so be careful
|
||||
change(input) {
|
||||
if (!utils.is.object(input) || !('sources' in input) || !input.sources.length) {
|
||||
this.warn('Invalid source format');
|
||||
this.console.warn('Invalid source format');
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user