Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
258 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | /* istanbul ignore next */
|
---|
| 4 | function setAttributesWithoutAttributes(style, attributes) {
|
---|
| 5 | Object.keys(attributes).forEach(function (key) {
|
---|
| 6 | style.setAttribute(key, attributes[key]);
|
---|
| 7 | });
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | module.exports = setAttributesWithoutAttributes; |
---|
Note:
See
TracBrowser
for help on using the repository browser.