Closed jdcc closed 7 years ago
But wait on this until I merge in the d3v4 changes.
Moving all calculations to utils.
Done for the majority of the create.js
code, working on getNodes()
function and project.js
now.
Updated getNodes()
working on project.js
now.
@jdcc would like your feedback on the code-restructure. Please let me know if I'm following the best practices.
I've done a big ol' refactor on the dev branch. @chaitanyya, take a look. It's not clean yet, but the code base is much simpler now.
There's a lot of duplication in the code base (specifically in
controllers/create.js
). Break out common pieces of code into functions, and make sure each function only does one specific thing. There's a ton to read about this kind of stuff, but here's a quick primer.