Fix for issue #281, support for Chrome v 48
This commit is contained in:
parent
d56af022c1
commit
f005c72669
|
@ -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:
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -21513,7 +21513,7 @@ module.exports=require(52)
|
|||
},{}],106:[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": [
|
||||
|
@ -30210,6 +30210,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:
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -30685,7 +30685,7 @@ module.exports=require(53)
|
|||
},{}],106:[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": [
|
||||
|
@ -39123,6 +39123,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:
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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:
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2,7 +2,7 @@
|
|||
* Created by knut on 2015-12-26.
|
||||
*/
|
||||
var gulp = require('gulp');
|
||||
|
||||
var shell = require('gulp-shell');
|
||||
var liveServer = require("live-server");
|
||||
|
||||
var params = {
|
||||
|
@ -18,3 +18,44 @@ var params = {
|
|||
gulp.task('live-server',function(){
|
||||
liveServer.start(params);
|
||||
});
|
||||
|
||||
|
||||
gulp.task('watch2',['live-server'],function(){
|
||||
return shell.task([
|
||||
'watchify src/mermaid.js -s mermaid -o dist/mermaid.js',
|
||||
'node node_modules/eslint-watch/bin/esw src -w'
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
// Basic usage
|
||||
gulp.task('watch-mermaid',function() {
|
||||
|
||||
return gulp.src('src/mermaid.js')
|
||||
.pipe(browserify({
|
||||
entry:'src/mermaid.js',
|
||||
standalone: 'mermaid'
|
||||
}))
|
||||
.pipe(rename('mermaid.js'))
|
||||
.pipe(gulp.dest('./dist/'))
|
||||
.pipe(uglify())
|
||||
.pipe(extReplace('.min.js'))
|
||||
.pipe(gulp.dest('./dist/'));
|
||||
});
|
||||
|
||||
//var bg = require("gulp-bg");
|
||||
//
|
||||
//let bgtask;
|
||||
//gulp.task("server", bgtask = bg("node", "--harmony", "server.js"));
|
||||
//
|
||||
//const exitCallback = (proc) => { if (proc.errorcode != 0) { process.exit(proc.errorcode); } };
|
||||
//
|
||||
//gulp.task("stop", () => {
|
||||
// bgtask.setCallback(exitCallback);
|
||||
//bgtask.stop();
|
||||
//}
|
||||
//});
|
||||
//
|
||||
//gulp.task("default", ["server"], function() {
|
||||
// gulp.watch(["server.js"], ["server"]);
|
||||
//});
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"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": [
|
||||
|
|
|
@ -33,6 +33,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:
|
||||
|
|
Loading…
Reference in New Issue