Cartilage/cartilage — pull request #32 by alexkwolfe (2012-11-07 22:16:09+00:00)
Title: Support for namespaces based on app/assets/javascripts directory structure

Namespaces are created prior to loading the application. Views are handed references to their respective namespace after the app is loaded.

Cartilage load order has change slightly.

* App loads cartilage.js
* Cartilage adds namespaces based on project directory structure
* Cartlage loads the app's launch.js
* Launch.js launches the application
* Cartilage hands the app's views a reference to their respective packages

The extra step is the callback to the app's launch.js file. This is necessary in order for execution to return back to cartilage for the final step.