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

Update router_js to 2.0.0. #15672

Merged
merged 1 commit into from
Sep 21, 2017
Merged

Update router_js to 2.0.0. #15672

merged 1 commit into from
Sep 21, 2017

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Sep 19, 2017

The diff of the changes is pretty noisey (due to lots of general cleanup work that was done), but for the most part the changes are:

  • Drop support for non ES5 browsers (use Array.isArray,
    Object.create, etc directly)
  • Refactor the dist output to emit module entry point.
  • Update to use classes throughout the repo.
  • Ensure Route.prototype.serialize is called bound to the route
    instance.

rollup: {
external: ['route-recognizer', 'rsvp'],
entry: 'router.js',
plugins: [{
transform(code, id) {
Copy link
Member Author

Choose a reason for hiding this comment

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

These overrides are not needed any longer, the upstream repo has corrected its invalid internals...

The diff of the changes is pretty noisey (due to lots of general
cleanup work that was done), but for the most part the changes are:

* Drop support for non ES5 browsers (use `Array.isArray`,
  `Object.create`, etc directly)
* Refactor the dist output to emit `module` entry point.
* Update to use classes throughout the repo.
* Ensure `Route.prototype.serialize` is called bound to the route
  instance.
@rwjblue rwjblue merged commit c377788 into emberjs:master Sep 21, 2017
@rwjblue rwjblue deleted the update-router-js branch September 21, 2017 15:01
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.

1 participant