MCPcopy Create free account
hub / github.com/WebReflection/neverland / toStyle

Function toStyle

index.js:1251–1260  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

1249 }
1250
1251 function toStyle(object) {
1252 var key,
1253 css = [];
1254
1255 for (key in object) {
1256 css.push(key.replace(hyphen, ized), ':', object[key], ';');
1257 }
1258
1259 return css.join('');
1260 }
1261
1262 function update(style, isSVG) {
1263 var oldType, oldValue;

Callers 1

updateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected