1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/renderkid/lib/renderKid/styles/Rule.js

22 lines
447 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
// Generated by CoffeeScript 1.9.3
var DeclarationBlock, Rule, Selector;
Selector = require('./rule/Selector');
DeclarationBlock = require('./rule/DeclarationBlock');
module.exports = Rule = (function() {
function Rule(selector) {
this.selector = new Selector(selector);
this.styles = new DeclarationBlock;
}
Rule.prototype.setStyles = function(styles) {
this.styles.set(styles);
return this;
};
return Rule;
})();