Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git] / src / core / Element.style-more.js
index 062d95c..b9f91a3 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Ext JS Library 3.2.0
+ * Ext JS Library 3.3.0
  * Copyright(c) 2006-2010 Ext JS, Inc.
  * licensing@extjs.com
  * http://www.extjs.com/license
@@ -106,7 +106,7 @@ Ext.Element.addMethods(function(){
          */
         setSize : function(width, height, animate){
             var me = this;
-            if(Ext.isObject(width)){ // in case of object from getSize()
+            if(typeof width == 'object'){ // in case of object from getSize()
                 height = width.height;
                 width = width.width;
             }
@@ -255,7 +255,7 @@ Ext.Element.addMethods(function(){
                 return {
                     width : d.clientWidth,
                     height : d.clientHeight
-                }
+                };
             }
         },
 
@@ -282,7 +282,7 @@ Ext.Element.addMethods(function(){
                 return {
                     width : extdom.getViewWidth(),
                     height : extdom.getViewHeight()
-                }
+                };
             }
             // Use Styles if they are set
             if(s.width && s.width != 'auto'){