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

index 7194a44..aeb257b 100644 (file)
@@ -688,10 +688,6 @@ Roo.apply(Roo.XComponent, {
      */
        overlayStrings : function( component, strings )
     {
-        if(typeof(component) == 'undefined') {
-            throw "ERROR: component undefined";
-        }
-        
         if (typeof(component['_named_strings']) == 'undefined') {
             throw "ERROR: component does not have _named_strings";
         }