OSDN Git Service

Version 0.6.6
[pettanr/clientJs.git] / 0.6.x / js / ui / LayoutManagerBase.js
similarity index 97%
rename from 0.6.x/js/JU/LayoutManagerBase.js
rename to 0.6.x/js/ui/LayoutManagerBase.js
index be56af2..ef134c9 100644 (file)
@@ -35,7 +35,7 @@ var LayoutManagerBase = X.Class.create(
                                        } else {
                                                t = r = b = l = 0;
                                        };
-                                       if( child instanceof LayoutBoxPrivate ){
+                                       if( child.instanceOf( LayoutBoxPrivate ) ){
                                                child.layoutManager.reflow( child, contentW - r - l, contentH - t - b );
                                        } else {
                                                child.preMesure( contentW - r - l, contentH - t - b );