mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
remove unnecessary el passed to context.deprecate
This commit is contained in:
parent
eb2351212d
commit
cef511baaa
@ -53,7 +53,7 @@ module.exports = function assignWidgetId(isRepeated) {
|
||||
}
|
||||
|
||||
if (el.hasAttribute('w-id')) {
|
||||
context.deprecate('The "w-id" attribute is deprecated. Please use "ref" instead.', el);
|
||||
context.deprecate('The "w-id" attribute is deprecated. Please use "ref" instead.');
|
||||
|
||||
if (widgetRef) {
|
||||
this.addError('The "w-id attribute cannot be used in conjuction with the "ref" attribute.');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user