10 lines
255 B
JavaScript
Raw Normal View History

2020-05-19 11:43:42 +03:00
"use strict";
exports.__esModule = true;
exports.default = removeStyle;
function removeStyle(node, key) {
return 'removeProperty' in node.style ? node.style.removeProperty(key) : node.style.removeAttribute(key);
}
module.exports = exports["default"];