Roo/XComponent.js
authorjohn <john@roojs.com>
Thu, 24 May 2018 09:17:37 +0000 (17:17 +0800)
committerjohn <john@roojs.com>
Thu, 24 May 2018 09:17:37 +0000 (17:17 +0800)
Roo/XComponent.js

index aeb257b..9283197 100644 (file)
@@ -688,7 +688,7 @@ Roo.apply(Roo.XComponent, {
      */
        overlayStrings : function( component, strings )
     {
-        if (typeof(component['_named_strings']) == 'undefined') {
+        if (typeof(component['_named_strings']) == undefined) {
             throw "ERROR: component does not have _named_strings";
         }
         for ( var k in strings ) {