Skip to content

Commit

Permalink
Merge 8e59a9c into 6e87805
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Dec 26, 2018
2 parents 6e87805 + 8e59a9c commit a7a38cc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/taglibs/core/core-transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,6 @@ module.exports = function transform(el, context) {

el.forEachAttribute(attr => {
let attrName = attr.name;
if (!attrName && !attr.spread) {
if (!node.addDynamicAttributes) {
context.addError(
el,
'Node does not support the "attrs" attribute'
);
} else {
context.deprecate(
"${attrs} is deprecated, use ...attrs instead"
);
node.addDynamicAttributes(attr.value);
}
return;
}
var attrTransformerFunc = attributeTransformers[attrName];
if (attrTransformerFunc) {
if (!attributeTransfomer) {
Expand Down

0 comments on commit a7a38cc

Please sign in to comment.