-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[CLEANUP Beta] remove Object.defineProperty polyfil #11462
Conversation
@@ -231,8 +228,8 @@ Ember.GUID_KEY = GUID_KEY; | |||
Ember.create = create; | |||
Ember.keys = keys; | |||
Ember.platform = { | |||
defineProperty: defineProperty, | |||
hasPropertyAccessors: hasPropertyAccessors | |||
defineProperty: true, defineProperty, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ defineProperty: true,
defineProperty,
6630417
to
a45761f
Compare
(╯°□°)╯︵ ʃıɟʎʃod¬ ʎʇɹǝdoɹdǝuıɟǝp¬
a45761f
to
edcf8b6
Compare
[CLEANUP Beta] remove Object.defineProperty polyfil
@@ -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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oefineProperty => defineProperty
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. PR coming 😄
(╯°□°)╯︵ ʃıɟʎʃod¬ ʎʇɹǝdoɹdǝuıɟǝp¬