mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Fixes #37 Fixed duplicate property
This commit is contained in:
parent
a526456652
commit
6a2f603ea9
@ -299,8 +299,6 @@ module.exports = function transform(node, compiler, template) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handleProp(name, value, attrDef, attr) {
|
function handleProp(name, value, attrDef, attr) {
|
||||||
node.setProperty(name, value);
|
|
||||||
|
|
||||||
if (attrDef.setFlag) {
|
if (attrDef.setFlag) {
|
||||||
node.setFlag(attrDef.setFlag);
|
node.setFlag(attrDef.setFlag);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user