Skip to content

Commit

Permalink
Fix deprecation id separator
Browse files Browse the repository at this point in the history
  • Loading branch information
Serabe committed Nov 17, 2017
1 parent 9e9607f commit e27061b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/ember-glimmer/lib/utils/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function deprecatedHTMLSafe(str) {
'Ember.String namespace is deprecated. Please, import `htmlSafe` from `ember/template`.',
false,
{
id: 'ember-glimmer/ember-string-html-safe',
id: 'ember-glimmer.ember-string-html-safe',
until: '3.5.0',
url: ''
}
Expand Down Expand Up @@ -141,7 +141,7 @@ export function deprecatedIsHTMLSafe(str) {
'Ember.String namespace is deprecated. Please, import `isHTMLSafe` from `ember/template`.',
false,
{
id: 'ember-glimmer/ember-string-is-html-safe',
id: 'ember-glimmer.ember-string-is-html-safe',
until: '3.5.0',
url: ''
}
Expand Down
4 changes: 2 additions & 2 deletions packages/ember-runtime/lib/ext/string.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function deprecateEmberStringExtension(fn, opts = {}) {
opts.message || `Extending String prototype is deprecated. Please, use ${name} from '@ember/string' instead.`,
false,
opts.options || {
id: 'ember-runtime/string-prototype-extension',
id: 'ember-runtime.string-prototype-extension',
until: '3.5.0',
url: ''
}
Expand Down Expand Up @@ -70,7 +70,7 @@ if (ENV.EXTEND_PROTOTYPES.String) {
StringPrototype.loc = deprecateEmberStringExtension(loc, {
message: '`loc` is deprecated. Please, use an i18n addon instead. See https://emberobserver.com/categories/internationalization for a list of them.',
options: {
id: 'ember-string-utils/loc',
id: 'ember-string-utils.loc',
until: '3.5.0',
url: ''
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-runtime/lib/system/string.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function deprecateEmberStringUtil(fn, opts = {}) {
opts.message || `Ember.String namespace is deprecated. Please, use ${name} from '@ember/string' instead.`,
false,
opts.options || {
id: 'ember-runtime/string-prototype-extension',
id: 'ember-runtime.string-prototype-extension',
until: '3.5.0',
url: ''
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ember/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ if (ENV.EXTEND_PROTOTYPES.String) {
`Extending String prototype is deprecated. Please, use htmlSafe from 'ember/template'.`,
false,
{
id: 'ember-runtime/string-prototype-extension',
id: 'ember-runtime.string-prototype-extension',
until: '3.5.0',
url: ''
}
Expand Down

0 comments on commit e27061b

Please sign in to comment.