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

View File

@@ -21180,7 +21180,7 @@ module.exports=require(52)
},{}],105:[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": [
@@ -29618,6 +29618,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: