Initial commit
This commit is contained in:
10
node_modules/dom-helpers/style/removeStyle.js
generated
vendored
Normal file
10
node_modules/dom-helpers/style/removeStyle.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'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'];
|
||||
Reference in New Issue
Block a user