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

View cruft removal. #13757

Merged
merged 7 commits into from
Jun 27, 2016
Merged

View cruft removal. #13757

merged 7 commits into from
Jun 27, 2016

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 27, 2016

  • Remove references to controller in component/views.
  • Simplify child views support.
    • Remove Ember.A usage for this.childViews (this was left over from
      container view support).
    • Remove this.childViews.slice (also left over from container view).
    • Re-unified glimmer fork of the mixin.
  • Remove createChildView.
  • Remove unsupported and long deprecated legacy view support.
    • The .controller and .context support was only present to support
      the legacy view and controller addons. That support only lasted
      through 2.6, and can be removed.
    • The nearestChildOf and nearestInstanceOf deprecations were added
      well before 2.0 (I have traced them back to at least 1.11), and they
      were private methods (documented as private since at least 1.12). When
      the until versions were added (to support the ember-debug-handlers
      feature) these were accidentally defaulted to 3.0.0.
  • Remove viewName support (used by legacy addons).

* The `.controller` and `.context` support was only present to support
  the legacy view and controller addons. That support only lasted
  through 2.6, and can be removed.
* The `nearestChildOf` and `nearestInstanceOf` deprecations were added
  well before 2.0 (I have traced them back to at least 1.11), and they
  were private methods (documented as private since at least 1.12). When
  the `until` versions were added (to support the ember-debug-handlers
  feature) these were accidentally defaulted to 3.0.0.
* Remove `Ember.A` usage for `this.childViews` (this was left over from
  container view support).
* Remove `this.childViews.slice` (also left over from container view).
* Re-unified glimmer fork of the mixin.
These tests were ported to the newer INUR style test setup, and can be
removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants