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