From 58f3bec1a23c1cc746b97308a695e00a61a985da Mon Sep 17 00:00:00 2001 From: Ricardo Mendes Date: Sat, 26 Jan 2019 16:24:29 +0000 Subject: [PATCH] Update index.ts --- packages/@ember/string/index.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/@ember/string/index.ts b/packages/@ember/string/index.ts index 2a2793a8ad9..7c9cb1df0a9 100644 --- a/packages/@ember/string/index.ts +++ b/packages/@ember/string/index.ts @@ -292,7 +292,7 @@ if (ENV.EXTEND_PROTOTYPES.String) { configurable: true, enumerable: false, writeable: true, - value: function () { + value() { return w(this); }, }, @@ -309,7 +309,7 @@ if (ENV.EXTEND_PROTOTYPES.String) { configurable: true, enumerable: false, writeable: true, - value: function (this: string, ...args: any[]) { + value(this: string, ...args: any[]) { return loc(this, args); }, }, @@ -326,7 +326,7 @@ if (ENV.EXTEND_PROTOTYPES.String) { configurable: true, enumerable: false, writeable: true, - value: function () { + value() { return camelize(this); }, }, @@ -343,7 +343,7 @@ if (ENV.EXTEND_PROTOTYPES.String) { configurable: true, enumerable: false, writeable: true, - value: function () { + value() { return decamelize(this); }, }, @@ -360,7 +360,7 @@ if (ENV.EXTEND_PROTOTYPES.String) { configurable: true, enumerable: false, writeable: true, - value: function () { + value() { return dasherize(this); }, }, @@ -377,7 +377,7 @@ if (ENV.EXTEND_PROTOTYPES.String) { configurable: true, enumerable: false, writeable: true, - value: function () { + value() { return underscore(this); }, }, @@ -394,7 +394,7 @@ if (ENV.EXTEND_PROTOTYPES.String) { configurable: true, enumerable: false, writeable: true, - value: function () { + value() { return classify(this); }, }, @@ -411,7 +411,7 @@ if (ENV.EXTEND_PROTOTYPES.String) { configurable: true, enumerable: false, writeable: true, - value: function () { + value() { return capitalize(this); }, },