-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Extracts code from Ember and sets minimum ember-cli-babel #1
Conversation
1562e44
to
d47ff81
Compare
ATM I think the tests are probably using |
Where'd |
@locks - status? |
@rwjblue cleaning all the relevant repos in the AM |
addon/index.js
Outdated
deprecate( | ||
'loc is deprecated, use an internationalization or localization addon instead.', | ||
false, | ||
{ id: 'ember-string-utils.loc', until: '3.5.0', url: 'http://babeljs.io/docs/learn-es2015/#template-strings' } |
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.
Should this be a link to ember-intl or ember-i18n or some other page about the topic?
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.
Looks good for initial implementation.
We should:
- Create an issue to update the implementation here to avoid duplicating code. e.g. when Ember has the string functionality in it, we do not need to include our own implementation.
- Land this PR
- Update to [email protected]
- Change
index.js
to usename: '@ember/string'
instead ofat-ember-string
I'm updating |
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.
Hmm. I don’t think the changes in [email protected]
actually allow this yet. The version checker is looking upwards through node_modules to find if a package is present, and I don’t think we actually handle the project itself being the package...
loc
loc
ember-cli-babel
to version that supports@ember/string