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

[CLEANUP Beta] remove Object.defineProperty polyfil #11462

Merged
merged 1 commit into from
Jun 15, 2015

Conversation

stefanpenner
Copy link
Member

(╯°□°)╯︵ ʃıɟʎʃod¬ ʎʇɹǝdoɹdǝuıɟǝp¬

@@ -231,8 +228,8 @@ Ember.GUID_KEY = GUID_KEY;
Ember.create = create;
Ember.keys = keys;
Ember.platform = {
defineProperty: defineProperty,
hasPropertyAccessors: hasPropertyAccessors
defineProperty: true, defineProperty,
Copy link
Contributor

Choose a reason for hiding this comment

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

^ defineProperty: true,defineProperty,

@stefanpenner stefanpenner force-pushed the define-property-cleanup branch 5 times, most recently from 6630417 to a45761f Compare June 15, 2015 06:21
(╯°□°)╯︵ ʃıɟʎʃod¬ ʎʇɹǝdoɹdǝuıɟǝp¬
stefanpenner added a commit that referenced this pull request Jun 15, 2015
[CLEANUP Beta] remove Object.defineProperty polyfil
@stefanpenner stefanpenner merged commit 89510c7 into emberjs:master Jun 15, 2015
@stefanpenner stefanpenner deleted the define-property-cleanup branch June 15, 2015 07:38
@@ -144,7 +139,7 @@ export function defineProperty(obj, keyName, desc, data, meta) {
value = desc;

// compatibility with ES5
objectDefineProperty(obj, keyName, desc);
Object.oefineProperty(obj, keyName, desc);
Copy link
Contributor

Choose a reason for hiding this comment

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

oefineProperty => defineProperty

Copy link
Member

Choose a reason for hiding this comment

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

@marcioj - Great catch! Could you submit a PR fixing?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sure. PR coming 😄

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.

4 participants