svg-builder
Version:
Simple, chainable SVG-building tool for NodeJS and the browser (with Browserify)
34 lines (26 loc) • 681 B
JavaScript
var Element = require('./element');
module.exports = Element.extend({
constructor: function () {
this.name = 'text';
this.permittedContent = [
'animation',
'descriptive',
'textcontentchild',
'container a'
];
this.permittedAttributes = [
'graphicalevent',
'presentation',
'core',
'conditionalprocessing',
[
'style',
'class',
'externalResourcesRequired',
'transform'
]
];
Element.constructor.apply(this, arguments);
}
});
;