Roo/bootstrap/Body.js
authorEdward <edward@roojs.com>
Fri, 29 Aug 2014 03:14:19 +0000 (11:14 +0800)
committerEdward <edward@roojs.com>
Fri, 29 Aug 2014 03:14:19 +0000 (11:14 +0800)
Roo/bootstrap/Body.js

index 5cd5105..720b7ea 100644 (file)
 
 Roo.bootstrap.Body = function(config){
     Roo.bootstrap.Body.superclass.constructor.call(this, config);
-    
-    this.addEvents({
-        // raw events
-        /**
-         * @event resize
-         * When window resize
-         * @param {Roo.EventObject} e
-         */
-        "resize" : true
-    });
-    
     this.el = Roo.get(document.body);
     if (this.cls && this.cls.length) {
         Roo.get(document.body).addClass(this.cls);
@@ -47,20 +36,10 @@ Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {
         }
         // style??? xttr???
         */
-    },
-    
-    initEvents: function() 
-    {
-        this.el.on('resize', this.onResize, this);
-       
-        
+    }
     
-    },
     
-    onResize: function ()
-    {
-        this.fireEvent('resize', this);
-    }
    
 });