@cicada/render
Advanced tools
Comparing version 1.1.22-alpha16 to 1.1.22-alpha17
@@ -71,5 +71,8 @@ 'use strict'; | ||
var dom = appearance.getRefById(stateId); | ||
(0, _keys2.default)(props).forEach(function (attr) { | ||
dom.setAttribute(attr, props[attr]); | ||
}); | ||
var ref = dom && dom.ref; | ||
if (ref) { | ||
(0, _keys2.default)(props).forEach(function (attr) { | ||
ref.setAttribute(attr, props[attr]); | ||
}); | ||
} | ||
} | ||
@@ -76,0 +79,0 @@ |
{ | ||
"name": "@cicada/render", | ||
"version": "1.1.22-alpha16", | ||
"version": "1.1.22-alpha17", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
439766
10500