- sg.js and sparkle-graph server are apache licensed, contributions must be apache or BSD/MIT licensed.
- sg.js users should not be required to use jquery, dojo, angular, backbone etc. Don't introduce other dependencies beyond d3.js, when.js, and require.js in the core. (We'd consider mature javascript libraries for special situations: e.g. for an isolated component, e.g. using jquery/select2 for a picker component).
- Make components independently testable, and add unit test coverage.
- Use requirejs to modularize.
- Use a consistent style with the rest of the code base (at least the good parts of the rest of the code base..):
- Descriptive variable names.
- Short functions.
- Brief comments on every function.
- 110 character lines max, 2 space indenting, no tabs.
- Review the documentation for: the sparkle-graph component-model documentation, the d3 api, require.js, and when.js.