Moving the SVG styles out of the svg element
They are now processed with compass
This commit is contained in:
1 parent
fbb8c4187d
commit
e466e7e548
7 files changed
+88
-70
No files matched your search
@@ -141,6 +141,12 @@ export default class Regexper {
|
||||
this.state = 'is-loading';
|
||||
this._trackEvent('visualization', 'start');
|
||||
|
||||
this.svg.innerHTML = [
|
||||
'<style type="text/css">',
|
||||
this.root.querySelector('#svg-styles').innerHTML,
|
||||
'</style>'
|
||||
].join('');
|
||||
|
||||
this.runningParser = new Parser();
|
||||
|
||||
return this.runningParser.parse(expression)
|
||||
|
||||
Reference in new issue
Block a user