svg-builder
Version:
Simple, chainable SVG-building tool for NodeJS and the browser (with Browserify)
31 lines (21 loc) • 549 B
JavaScript
var Element = require('./element');
module.exports = Element.extend({
constructor: function () {
this.name = 'style';
this.categories = 'none';
this.permittedContent = 'any';
this.permittedAttributes = [
'type',
'media',
'title',
[
'style',
'class',
'externalResourcesRequired',
'transform'
]
];
Element.constructor.apply(this, arguments);
}
});
;