OSDN Git Service

Version 0.6.156, add X.UI.Repeater.
[pettanr/clientJs.git] / 0.6.x / js / 20_ui / 20_PageRoot.js
index fdcec3a..e4d2ab4 100644 (file)
@@ -180,7 +180,7 @@ function XUI_PageRoot_onViewUpdate( e ){
 };
 
 //var XUI_PageRoot;
-
+// TODO singleton
 X.UI.PageRoot = X.UI.Box.inherits(
        'PageRoot',
        X_Class.NONE,
@@ -189,10 +189,10 @@ X.UI.PageRoot = X.UI.Box.inherits(
                        var supports;
                        
                        //if( !XUI_PageRoot ){
-                               supports = XUI_Attr_createAttrDef( XUI_Box.prototype.supportAttrs, XUI_Layout_Canvas.overrideAttrsForSelf );
+                               supports = XUI_Attr_createAttrDef( XUI_Box.prototype.usableAttrs, XUI_Layout_Canvas.overrideAttrsForSelf );
                                
                                XUI_PageRoot.prototype.layout       = XUI_Layout_Canvas;
-                               XUI_PageRoot.prototype.supportAttrs = supports;
+                               XUI_PageRoot.prototype.usableAttrs = supports;
                                XUI_PageRoot.prototype.attrClass    = XUI_Attr_preset( XUI_Box.prototype.attrClass, supports, {
                                                                        width  : '100%',
                                                                        height : '100%'