diff options
author | wout <wout@impinc.co.uk> | 2014-06-21 20:32:28 +0200 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-06-21 20:32:28 +0200 |
commit | 629a01b3bbf057eae7e0599433bbbcb28acd8587 (patch) | |
tree | c6ce43e4bb28e61885921d19ae99726ea93828c0 /src/doc.js | |
parent | 19b6fd4338246d1fd9ca4806e57c7aebcec63826 (diff) | |
download | svg.js-629a01b3bbf057eae7e0599433bbbcb28acd8587.tar.gz svg.js-629a01b3bbf057eae7e0599433bbbcb28acd8587.zip |
Various reference fixes
Diffstat (limited to 'src/doc.js')
-rwxr-xr-x | src/doc.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,10 +15,11 @@ SVG.Doc = SVG.invent({ element.appendChild(this.node) } - /* set svg element attributes */ + /* set svg element attributes and ensure defs node */ this .attr({ xmlns: SVG.ns, version: '1.1', width: '100%', height: '100%' }) .attr('xmlns:xlink', SVG.xlink, SVG.xmlns) + .defs() } // Inherit from |