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,11 +1,12 @@
/* global window */
var dagreD3;
//console.log('setting up dagre-d3');
if (require) {
try {
dagreD3 = require("dagre-d3");
} catch (e) {}
//console.log('Got it (dagre-d3)');
} catch (e) {console.log('Could not load dagre-d3');}
}
if (!dagreD3) {