UNPKG

svg-builder

Version:

Simple, chainable SVG-building tool for NodeJS and the browser (with Browserify)

33 lines (24 loc) 623 B
'use strict'; var Element = require('./element'); module.exports = Element.extend({ constructor: function () { this.name = 'rect'; this.permittedContent = [ 'animation', 'descriptive' ]; this.permittedAttributes = [ 'graphicalevent', 'presentation', 'core', 'conditionalprocessing', [ 'style', 'class', 'externalResourcesRequired', 'transform' ] ]; Element.constructor.apply(this, arguments); } });