Commit aa5ebf85 authored by Robert Knight's avatar Robert Knight

Remove unused controller properties

Now that `<hypothesis-app>` has been converted to a component, it is
easier to see that the `feature` and `session` properties are not used
because they are not referenced elsewhere in the controller or the
template (as `vm.{property}`).
parent 4b3c1325
......@@ -36,14 +36,6 @@ function HypothesisAppController(
// used by templates to show an intermediate or loading state.
this.auth = {status: 'unknown'};
// Allow all child scopes to look up feature flags as:
//
// if ($scope.feature('foo')) { ... }
this.feature = features.flagEnabled;
// Allow all child scopes access to the session
this.session = session;
// App dialogs
this.accountDialog = {visible: false};
this.shareDialog = {visible: false};
......
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