Upgrade to ExtJS 3.2.0 - Released 03/30/2010
[extjs.git] / src / ext-core / src / adapter / ext-base-point.js
1 /*!
2  * Ext JS Library 3.2.0
3  * Copyright(c) 2006-2010 Ext JS, Inc.
4  * licensing@extjs.com
5  * http://www.extjs.com/license
6  */
7         Ext.lib.Point = function(x, y) {
8         if (Ext.isArray(x)) {
9             y = x[1];
10             x = x[0];
11         }
12         var me = this;
13         me.x = me.right = me.left = me[0] = x;
14         me.y = me.top = me.bottom = me[1] = y;
15     };
16
17     Ext.lib.Point.prototype = new Ext.lib.Region();