mozilla/FlightDeck — pull request #51 by seanmonstar (2011-11-02 16:43:31+00:00)
Title: Shipyard IDE

This is the first step in moving towards [Shipyard](/seanmonstar/Shipyard).

Practically everything that made the editor work in JavaScript has been moved in the Shipyard architecture. The `File` classes are now Shipyard Models, which means they will eventually use `ServerSync` (pending on the api branch), and have data binding available.

Some files have been deleted that didn't make sense anymore, and other had not been used in a year.

Every part of the new `ide` app that doesn't still rely on MooTools has tests written. Being on production also requires these files to be minified, which is a plus over the current situation (nothing is minified).

After jingo lands, I'd like to add a `shipyard` helper that will replace the current script tags in the templates.

For development, you simply need to `git submodule update --init`, since Shipyard is a submodule. To run the tests, you would need to have nodejs and npm installed. Once they are, you would `cd media/lib/shipyard` and then `npm link`. Then, from the `ide` folder, you can run `shipyard test` to watch the tests pass.