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:
knsv
2015-10-19 21:36:55 +02:00
parent 57b731842b
commit b43e695da2
22 changed files with 994 additions and 522 deletions

View File

@@ -16,10 +16,11 @@
* Web page integration module for the mermaid framework. It uses the mermaidAPI for mermaid functionality and to render
* the diagrams to svg code.
*/
import * as Logger from './logger';
var log = new Logger.Log();
var mermaidAPI = require('./mermaidAPI');
var nextId = 0;
var log = require('./logger').create();
var he = require('he');
module.exports.mermaidAPI = mermaidAPI;