From b8e2155e5cf130f0aaf0d3776540221aa7169237 Mon Sep 17 00:00:00 2001 From: Dave Laird Date: Wed, 11 Apr 2018 17:21:40 -0700 Subject: [PATCH] change check for EXTEND_PROTOTYPES and EXTEND_PROTOTYPE.string to an and --- addon/lib/ext/string.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/lib/ext/string.js b/addon/lib/ext/string.js index 9382620..74c63fb 100644 --- a/addon/lib/ext/string.js +++ b/addon/lib/ext/string.js @@ -4,7 +4,7 @@ import { singularize } from '../system/string'; -if (Ember.EXTEND_PROTOTYPES === true || Ember.EXTEND_PROTOTYPES.String) { +if (Ember.EXTEND_PROTOTYPES === true && Ember.EXTEND_PROTOTYPES.String) { /** See {{#crossLink "Ember.String/pluralize"}}{{/crossLink}}