mozilla/webpagemaker — pull request #500 by toolness (2012-08-22 02:36:49+00:00)
Title: Templatize the editor.

Until now, friendlycode was the entire editor component of Thimble. However, it's now just a widget that Thimble embeds.

Previously, any editor page was a "hack" of Thimble's `index.html` that find-replaced some strings so the page worked on Thimble. Now, however, each page with the editor is generated from a jinja2 template that embeds friendlycode.

Aside from that, I also added a browser test suite for Thimble that runs friendlycode tests in addition to a few Thimble-specific tests.

The one thing this pull request doesn't do is modify `.travis.yml` to actually run the browser test suite in a headless PhantomJS instance. We should do that at some point.