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

@@ -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;

View File

@@ -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