mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-08 01:56:42 +02: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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user