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

Change to use native typeof instead #313

Conversation

homeslicesolutions-zz
Copy link
Contributor

I ran into this issue while using "async/await" syntax for the "save" function in the underlying base object. Ember.typeOf method detects these as Javascript Objects instead of Functions. Ember is trying to deprecate the use of typeOf in favor of the native "typeof". This is a fix for that.

See this conversation for the same type of thing: emberjs/ember.js#15151

Copy link
Collaborator

@snewcomer snewcomer left a comment

Choose a reason for hiding this comment

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

👌 Nice work!

@snewcomer snewcomer merged commit 3d8c5d0 into adopted-ember-addons:master Sep 4, 2018
@homeslicesolutions-zz homeslicesolutions-zz deleted the bugfix/use-native-typeof branch September 5, 2018 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants