mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-14 09:44:51 +01:00
Fix for issue #204, added width option to the CLI. Default value for width is 1200.
Added logger using es6 syntax
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
/**
|
||||
* Created by knut on 15-01-14.
|
||||
*/
|
||||
var log = require('../../logger').create();
|
||||
import * as Logger from '../../logger';
|
||||
var log = new Logger.Log();
|
||||
|
||||
var message = '';
|
||||
var info = false;
|
||||
|
||||
|
||||
@@ -4,7 +4,9 @@
|
||||
var db = require('./exampleDb');
|
||||
var exampleParser = require('./parser/example.js');
|
||||
var d3 = require('../../d3');
|
||||
var log = require('../../logger').create();
|
||||
import * as Logger from '../../logger';
|
||||
var log = new Logger.Log();
|
||||
|
||||
/**
|
||||
* Draws a an info picture in the tag with id: id based on the graph definition in text.
|
||||
* @param text
|
||||
|
||||
Reference in New Issue
Block a user