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

Provide EmberApp with registry access. #955

Merged
merged 1 commit into from
Jun 9, 2014

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 9, 2014

  • Allows customizing registry within Brocfile.js.
  • Provides registry with EmberApp instance.
  • Makes each Plugin have a toTree method. This will allow plugins that take a different signature to work properly (assuming they implement a custom toTree).
  • Provides name property that is provided to EmberApp to plugin. This allows the plugin to name the generated output file properly.

Fixes #954.
Fixes #827.

@@ -16,6 +16,7 @@
* [ENHANCEMENT] Bring generators in-house via blueprints. [#747](https://github.com/stefanpenner/ember-cli/pull/747)
* [BUGFIX] Only process applicaiton code with ES3SafeFilter. [#949](https://github.com/stefanpenner/ember-cli/pull/949)
* [ENHANCEMENT] Separate applicaiton code from vendor code. Generate `/assets/vendor.js` for vendored code. [#949](https://github.com/stefanpenner/ember-cli/pull/949)
* [ENHANCEMENT] Provide `registry` access to `EmberApp`. [#955](https://github.com/stefanpenner/ember-cli/pull/955)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

access from not to?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct. Updated.

* Allows customizing registry within `Brocfile.js`.
* Provides registry with `EmberApp` instance.
* Makes each `Plugin` have a `toTree` method. This will allow plugins
  that take a different signature to work properly (assuming they
  implement a custom `toTree`).
* Provides `name` property that is provided to `EmberApp` to plugin.
  This allows the plugin to name the generated output file properly.
stefanpenner added a commit that referenced this pull request Jun 9, 2014
Provide EmberApp with registry access.
@stefanpenner stefanpenner merged commit f38b0a3 into ember-cli:master Jun 9, 2014
@rwjblue rwjblue deleted the fix-css-preprocesors branch June 9, 2014 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants