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

Support for Ember 1.13.x #9

Closed
wants to merge 7 commits into from
Closed

Conversation

jesenko
Copy link
Contributor

@jesenko jesenko commented Jul 16, 2015

Current version of ember-bootstrap uses some private api that was changed with the introduction of Glimmer engine with 1.13.x.

This PR includes:

  • parent - children components use nearestOfType for communication of childViews is no longer supported in Ember
  • package.json and bower.json dependencies to latest stable versions.
  • fixed tests

`childViews` is not supported in Ember > 1.13. To enable communication
between parent and child, child register themselves using `register...`
and `remove...` method in nearest parent of appropriate type.
Some behavior of component tests changed in latest versions of
Ember:

* passing `template` to `this.subject` does not render given template.
Must pass `layout` instead
* setting targetObject in subject failed in latest Ember

Some of the changes could be due to Ember 1.13.x issues that will be
fixed in future; setting button `id` currently fails due to issue in
Ember.
@jesenko
Copy link
Contributor Author

jesenko commented Jul 16, 2015

All tests except one pass for build on stable ember version. bs-button-test.js, button has HTML attributes fails due to emberjs/ember.js#11480.

@jesenko jesenko closed this Jul 18, 2015
@jesenko jesenko mentioned this pull request Jul 18, 2015
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