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

Modify javascript formatting to support IE. Move imports to new file #20

Closed
wants to merge 3 commits into from

Conversation

krumware
Copy link

This PR addresses #18 and #19.

A missing function declaration and a shorthand function were modified to support Internet Explorer 11.
Import files were moved into a new html file to leverage browser deduping and prevent multiple script execution.

This can be broken up into separate PRs, unless merging here is acceptable.

@alshakero
Copy link
Contributor

Thank you so much for taking action!

LGTM, any comments @tomalec?

},
editor: null,
observer: null,
Copy link
Member

@tomalec tomalec Jan 31, 2018

Choose a reason for hiding this comment

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

We still use the observer, I'd keep it in the prototype, to make the API known beforehand.

Do we need to move editor to properties? What does it change? I think it may only cost us the performance of Polymer magic on top of that.

Copy link
Author

Choose a reason for hiding this comment

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

There was a reference to editor being undefined, and the move to polymer properties resolved that. The removal of observer was a misstep. I'll re-add and recheck. Thanks for the feedback!

@tomalec
Copy link
Member

tomalec commented Feb 1, 2018

Thanks for the PR! I'm totally 👍 for changing the function declarations, got some questions regarding editor and observer.

But speaking of moving imports, I think it's better to move it to separate PR, as I have more doubts there.
See #19 (comment).

@krumware
Copy link
Author

krumware commented Feb 9, 2018

I'm totally with you on the imports, this is old pattern that may have since been resolved but we still practice (habits).
Just wanted to chime in and let you guys know I haven't forgotten about this, just lots going on!

@krumware krumware closed this Jun 19, 2023
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.

3 participants