Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unneeded OVERRIDE_CONTAINER_KEY #16011

Merged
merged 1 commit into from
Dec 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 0 additions & 5 deletions packages/ember-runtime/lib/system/object.js
Expand Up @@ -9,7 +9,6 @@ import Observable from '../mixins/observable';
import { assert } from 'ember-debug';
import { DEBUG } from 'ember-env-flags';

let OVERRIDE_CONTAINER_KEY = symbol('OVERRIDE_CONTAINER_KEY');
let OVERRIDE_OWNER = symbol('OVERRIDE_OWNER');

/**
Expand All @@ -26,10 +25,6 @@ const EmberObject = CoreObject.extend(Observable, {
_debugContainerKey: descriptor({
enumerable: false,
get() {
if (this[OVERRIDE_CONTAINER_KEY]) {
return this[OVERRIDE_CONTAINER_KEY];
}

let meta = peekMeta(this);
let { factory } = meta;

Expand Down