lshift/diffa — pull request #48 by aprescott (2012-03-02 17:06:03+00:00)
Title: Support setting an auth token to be used for API calls

If `USER_AUTH_TOKEN` is defined and non-empty, it'll be used as a query param (`authToken=`) on all API calls from the JavaScript app.

Some additional refactoring as part of that, including moving some dependencies into decorator.jsp and tidying `API_BASE` references under `$.ajaxSetup`, which is where the `authToken` param gets set.