Skip to content

Commit

Permalink
Merge pull request #17844 from emberjs/opt-outlet
Browse files Browse the repository at this point in the history
outlet cleanup
  • Loading branch information
chancancode committed Apr 3, 2019
2 parents 74b0687 + b958e3c commit 099aec5
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { OwnedTemplateMeta } from '@ember/-internals/views';
import { _instrumentStart } from '@ember/instrumentation';
import { assign } from '@ember/polyfills';
import { DEBUG } from '@glimmer/env';
import { ComponentCapabilities, Option, Simple, Unique } from '@glimmer/interfaces';
import { ComponentCapabilities, Option, Simple } from '@glimmer/interfaces';
import { CONSTANT_TAG, Tag, VersionedPathReference } from '@glimmer/reference';
import {
Arguments,
Expand Down Expand Up @@ -51,7 +51,7 @@ const CAPABILITIES: ComponentCapabilities = {
elementHook: false,
createCaller: true,
dynamicScope: true,
updateHook: true,
updateHook: false,
createInstance: true,
};

Expand Down Expand Up @@ -82,14 +82,6 @@ class OutletComponentManager extends AbstractManager<OutletInstanceState, Outlet
};
}

layoutFor(
_state: OutletDefinitionState,
_component: OutletInstanceState,
_env: Environment
): Unique<'Handle'> {
throw new Error('Method not implemented.');
}

getLayout({ template }: OutletDefinitionState, _resolver: RuntimeResolver): Invocation {
// The router has already resolved the template
const layout = template.asLayout();
Expand Down

0 comments on commit 099aec5

Please sign in to comment.