-
Nick Stenning authored
The approach of embedding a link tag in the app.html doesn't really give us a great deal of flexibility. URLs within the application, perhaps as a result, tend to be created either from baseURI or from the API URL, called `serviceUrl` in the code. This commit leaves the <base> tag alone, but: - replaces the serviceUrl <link> tag with a settings object, `window.hypothesis.settings` which is inlined into app.html. - replaces the serviceUrl angular service with a generic settings service. - renames serviceUrl to apiUrl, to make its purpose more obvious.
c1d03a03
Name |
Last commit
|
Last update |
---|---|---|
h | ||
scripts | ||
.hound.yml | ||
.jscsrc | ||
.jshintignore | ||
.jshintrc | ||
package.json |