Fix for issue #281, support for Chrome v 48

This commit is contained in:
knsv
2016-01-25 18:59:03 +01:00
parent d56af022c1
commit f005c72669
11 changed files with 87 additions and 32 deletions

5
dist/mermaid.js vendored
View File

@@ -31018,7 +31018,7 @@ module.exports=require(53)
},{}],107:[function(require,module,exports){
module.exports={
"name": "mermaid",
"version": "0.5.6",
"version": "0.5.7",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
"main": "src/mermaid.js",
"keywords": [
@@ -39715,6 +39715,9 @@ var classRenderer = require('./diagrams/classDiagram/classRenderer');
var classDb = require('./diagrams/classDiagram/classDb');
var d3 = require('./d3');
SVGElement.prototype.getTransformToElement = SVGElement.prototype.getTransformToElement || function (toElement) {
return toElement.getScreenCTM().inverse().multiply(this.getScreenCTM());
};
/**
* ## Configuration
* These are the default options which can be overridden with the initialization call as in the example below: