Commit 910e57da authored by Robert Knight's avatar Robert Knight

Stop exposing `serviceUrl` on HypothesisAppController

The template no longer uses this property.
parent 679a155c
......@@ -57,8 +57,6 @@ function HypothesisAppController(
frameSync.connect();
}
this.serviceUrl = serviceUrl;
this.sortKey = function () {
return annotationUI.getState().sortKey;
};
......
......@@ -265,11 +265,6 @@ describe('sidebar.components.hypothesis-app', function () {
});
});
it('exposes the serviceUrl on the controller', function () {
var ctrl = createController();
assert.equal(ctrl.serviceUrl, fakeServiceUrl);
});
it('does not show the share dialog at start', function () {
var ctrl = createController();
assert.isFalse(ctrl.shareDialog.visible);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment