Skip to content

Commit

Permalink
Fix htmlSafe and isHTMLSafe data
Browse files Browse the repository at this point in the history
Deprecates importing it from `@ember/string` and adds the replacement
to `@ember/template`.
  • Loading branch information
Serabe committed Oct 12, 2017
1 parent c7c143a commit 5078d8f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -881,13 +881,21 @@
"global": "Ember.String.htmlSafe",
"module": "@ember/string",
"export": "htmlSafe",
"deprecated": false
"deprecated": true,
"replacement": {
"module": "@ember/template",
"export": "htmlSafe"
}
},
{
"global": "Ember.String.isHTMLSafe",
"module": "@ember/string",
"export": "isHTMLSafe",
"deprecated": false
"deprecated": true,
"replacement": {
"module": "@ember/template",
"export": "isHTMLSafe"
}
},
{
"global": "Ember.String.loc",
Expand Down

0 comments on commit 5078d8f

Please sign in to comment.