Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Updates code to current practices #924

Merged
merged 1 commit into from
Jan 19, 2017
Merged

Updates code to current practices #924

merged 1 commit into from
Jan 19, 2017

Conversation

locks
Copy link
Contributor

@locks locks commented Jan 18, 2017

Ember.on and Ember.computed are currently preferred over the prototype extensions Function.prototype.on and Function.prototype.property.

Changes proposed in this pull request:

  • Replaces Function.prototype.on with Ember.on
  • Replaces Function.prorotype.property with Ember.computed

cc @HospitalRun/core-maintainers

`Ember.on` and `Ember.computed` are currently preferred over the prototype extensions `Function.prototype.on` and `Function.prototype.property`.
Copy link
Member

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for the PR @locks!

@jkleinsc jkleinsc merged commit ba6c524 into HospitalRun:master Jan 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants