Render function as mentioned in issue #146, only works in browser context

Updated build scripts
New way for bundling content in dist, tobe tested, currently to be considered beta
This commit is contained in:
knsv
2015-05-26 20:41:53 +02:00
parent 05f3982632
commit b4a96c9b21
35 changed files with 104559 additions and 15040 deletions

View File

@@ -1,8 +1,9 @@
var gantt = require('./parser/gantt').parser;
gantt.yy = require('./ganttDb');
var d3 = require('./d3');
var d3 = require('../../d3');
var moment = require('moment');
var daysInChart;
var conf = {
titleTopMargin: 25,
@@ -41,8 +42,6 @@ module.exports.draw = function (text, id) {
elem.setAttribute('height', h);
var svg = d3.select('#' + id);
// http://codepen.io/anon/pen/azLvWR
var dateFormat = d3.time.format("%Y-%m-%d");