breaking(core): Dopped log.warning in favor of log.warn
This commit is contained in:
parent
671bd9291e
commit
52321bd4ff
2 changed files with 1 additions and 7 deletions
|
@ -358,7 +358,7 @@ Point.prototype.asRenderProps = function () {
|
|||
//////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Checks the Points coordinates, and raises a warning when they are invalid
|
||||
* Checks the Points coordinates, and logs a warning when they are invalid
|
||||
*
|
||||
* @private
|
||||
* @return {object} this - The Point instance
|
||||
|
|
|
@ -24,8 +24,6 @@ export function Store(methods = []) {
|
|||
const logs = {
|
||||
debug: [],
|
||||
info: [],
|
||||
// FIXME: Remove after migration to 'warn' is complete
|
||||
warning: [],
|
||||
warn: [],
|
||||
error: [],
|
||||
}
|
||||
|
@ -39,10 +37,6 @@ export function Store(methods = []) {
|
|||
warn: function (...data) {
|
||||
logs.warn.push(...data)
|
||||
},
|
||||
// FIXME: Remove after migration to 'warn' is complete
|
||||
warning: function (...data) {
|
||||
logs.warning.push(...data)
|
||||
},
|
||||
error: function (...data) {
|
||||
if (typeof window !== 'undefined') console.error(...data[0])
|
||||
logs.error.push(...data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue