lift/framework — pull request #1559 by Shadowfiend (2014-05-12 17:34:51+00:00)
Title: Outline Scripts: Refactor JS support to a single static file + move initialization to per-page file.

Two major things here:
- JS support is now in a single lift.js file at `resources/toserve`. Initialization is done via the
`LiftRules.javascriptSettings` rule.
- JavaScript added to the page via `S.appendJs` is now accumulated into a separately-referenced
JS file that is served once.

There's some formatting noise in this PR, unfortunately.

Also, @eltimn, right now we've got `LiftRules.autoIncludeJSSettings` and `LiftRules.javascriptSettings`; should we make `LiftRules.javascriptSettings` produce a `Box[JsObj]` that people can set to `Empty` as needed, instead of having two settings?

I suppose I also need to make a note to:
- [ ] Fix capitalization of `javascriptSettings` to be `javaScriptSettings`