File tree 1 file changed +0
-19
lines changed
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -252,22 +252,3 @@ export function underscore(str: string): string {
252
252
export function capitalize ( str : string ) : string {
253
253
return CAPITALIZE_CACHE . get ( str ) ;
254
254
}
255
-
256
- /*
257
- The following are implemented here to give users adding `@ember/string` to
258
- their projects a useful error message. The `ember-source` implementation of
259
- `@ember/string` is clobbered by adding this addon, and so the deprecation of
260
- the import path is not triggered. This error message is intended to help
261
- users discover what they need to change.
262
- */
263
- export function htmlSafe ( str : string ) : void {
264
- throw new Error (
265
- 'htmlSafe is not implemented in the `@ember/string` package. Please import from `@ember/template` instead.' ,
266
- ) ;
267
- }
268
-
269
- export function isHTMLSafe ( str : any | null | undefined ) : void {
270
- throw new Error (
271
- 'isHTMLSafe is not implemented in the `@ember/string` package. Please import from `@ember/template` instead.' ,
272
- ) ;
273
- }
You can’t perform that action at this time.
0 commit comments