10 lines
291 B
JavaScript
10 lines
291 B
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: 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']; |