mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Fixes #421 - Add deprecation warning for w-bind.
This commit is contained in:
parent
6aaf8679a8
commit
444550ee61
@ -62,6 +62,8 @@ module.exports = function handleWidgetBind() {
|
||||
return;
|
||||
}
|
||||
|
||||
context.deprecate('The "w-bind" attribute is deprecated. Please remove it.');
|
||||
|
||||
// Remove the w-bind attribute since we don't want it showing up in the output DOM
|
||||
el.removeAttribute('w-bind');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user