add test for issue 29
This commit is contained in:
parent
d684b0fceb
commit
1ed7fa5b30
7 changed files with 45 additions and 5 deletions
|
|
@ -129,7 +129,7 @@ new function(window) {
|
|||
cachedAttrs[attrName] = dataAttr
|
||||
if (attrName === "config") continue
|
||||
else if (typeof dataAttr == "function" && attrName.indexOf("on") == 0) {
|
||||
if (String(dataAttr) !== String(cachedAttr)) node[attrName] = autoredraw(dataAttr, node)
|
||||
node[attrName] = autoredraw(dataAttr, node)
|
||||
}
|
||||
else if (attrName === "style") {
|
||||
for (var rule in dataAttr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue