Fixes #421 - Add deprecation warning for w-bind.

This commit is contained in:
austinkelleher 2017-01-05 15:03:45 -05:00
parent 6aaf8679a8
commit 444550ee61

View File

@ -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');