Closed carmen-tm closed 10 years ago
Testing require-js lib
First attempts to organize the project by using require.js The common structure is
Tests:
by doing:
<!-- main.js loads one.js, two.js and three.js via a require call: --> require(["one", "two", "three"], function (one, two, three) { });
but doesn't work. It seems to load dagre-d3 but not d3 as is giving an Undefine error related to d3 commands.
require(["helper/util"], function(util) { });
It works fine.
Testing require-js lib
First attempts to organize the project by using require.js The common structure is
Tests:
by doing:
but doesn't work. It seems to load dagre-d3 but not d3 as is giving an Undefine error related to d3 commands.
It works fine.