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

fix(#195): provide default values for concatenatedProperties #217

Merged
merged 1 commit into from
Nov 12, 2017

Conversation

RustyToms
Copy link
Contributor

@RustyToms RustyToms commented Sep 26, 2017

closes #195

This issue affects IE 11 which is still being supported for quite some time. It seems somehow to be related to emberjs/ember.js#14264 , though that particular issue was fixed. @PrzemoRevolve found a work around, but instead of adding empty strings for the concatenated properties every time modal-dialog is used, the work around can be implemented inside basic-dialog.js by adding default values of empty arrays to those properties.

@lukemelia this works on IE 11, do you think it will cause any unwanted side effects? with null values instead of empty arrays (which I tried first) I don't think it should cause any side effects.

@RustyToms
Copy link
Contributor Author

I've updated the code to use null instead of an empty array, to remove the chance of the properties being mutated.

@RustyToms RustyToms changed the title fix(#195): provide default array values for concatenatedProperties fix(#195): provide default values for concatenatedProperties Sep 26, 2017
@jplock
Copy link

jplock commented Sep 27, 2017

If this fixes #195, can this be reviewed and merged?

@lukemelia
Copy link
Contributor

Thanks @RustyToms!

@lukemelia lukemelia merged commit 7fa5f39 into yapplabs:master Nov 12, 2017
@RustyToms RustyToms deleted the fix_ie branch November 15, 2017 21:45
@mehulkar mehulkar mentioned this pull request Dec 7, 2019
3 tasks
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.

PhantomJS test error: Attempting to define property on object that is not extensible
3 participants