fabric-engine/JSSceneGraph — Issue #118: Integrate 'requirejs', and use to define/enfrce dependencies between files. 
Author: phtaylor
Created: 2012-01-12 17:47:42+00:00
State: open

http://requirejs.org/

We haven't had any system in place to enforce dependencies between files are honorer, and this has led to many trivial bugs.

http://requirejs.org/docs/whyamd.html

using 'require' is nice because it ties into node.js where 'require' is used to load dependencies.