Added default stylesheet and less structure to create new themes as described in issue #122

This commit is contained in:
knsv
2015-03-01 16:48:16 +01:00
parent ead74558ea
commit cc1a4be15a
8 changed files with 61 additions and 56 deletions

View File

@@ -112,9 +112,6 @@ exports.addEdges = function (edges, g) {
var defaultStyle;
if(typeof edges.defaultStyle !== 'undefined'){
defaultStyle = edges.defaultStyle.toString().replace(/,/g , ';');
console.log('edges def: '+defaultStyle);
//console.log('edges def:'+defaultStyle.replace(',' , ';','g'));
}
edges.forEach(function (edge) {

View File

@@ -66,9 +66,6 @@ module.exports.draw = function (text, id) {
var categories = [];
daysInChart = moment.duration(endDate-startDate).asDays();
console.log('startDate',startDate);
console.log('endDate',endDate);
console.log('daysInChart',daysInChart);
for (var i = 0; i < taskArray.length; i++) {
categories.push(taskArray[i].type);