FIX: simpler w function check (#7496)

FIX: simpler w function check (#7496)

diff --git a/vendor/assets/javascripts/i18n-patches.js b/vendor/assets/javascripts/i18n-patches.js
index 61c0a52..90d8496 100644
--- a/vendor/assets/javascripts/i18n-patches.js
+++ b/vendor/assets/javascripts/i18n-patches.js
@@ -13,7 +13,7 @@
       return oldI18ntoHumanSize.apply(this, [number, options]);
     };
 
-    if (Ember.typeOf(String.prototype.w) === "function") {
+    if ("w" in String.prototype) {
       String.prototype.i18n = function(options) {
         return I18n.t(String(this), options);
       };

GitHub sha: 25703117

Revert "FIX: simpler w function check (#7496)"