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