Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / docs / source / ext-base-point.html
1 <html>\r
2 <head>\r
3   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    \r
4   <title>The source code</title>\r
5     <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
6     <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
7 </head>\r
8 <body  onload="prettyPrint();">\r
9     <pre class="prettyprint lang-js">   Ext.lib.Point = function(x, y) {\r
10         if (Ext.isArray(x)) {\r
11             y = x[1];\r
12             x = x[0];\r
13         }\r
14         var me = this;\r
15         me.x = me.right = me.left = me[0] = x;\r
16         me.y = me.top = me.bottom = me[1] = y;\r
17     };\r
18 \r
19     Ext.lib.Point.prototype = new Ext.lib.Region();\r
20 </pre>    \r
21 </body>\r
22 </html>