Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / docs / source / ext-base-point.html
1 <html>
2 <head>
3   <title>The source code</title>
4     <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
5     <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
6 </head>
7 <body  onload="prettyPrint();">
8     <pre class="prettyprint lang-js">/*!
9  * Ext JS Library 3.0.3
10  * Copyright(c) 2006-2009 Ext JS, LLC
11  * licensing@extjs.com
12  * http://www.extjs.com/license
13  */
14         Ext.lib.Point = function(x, y) {\r
15         if (Ext.isArray(x)) {\r
16             y = x[1];\r
17             x = x[0];\r
18         }\r
19         var me = this;\r
20         me.x = me.right = me.left = me[0] = x;\r
21         me.y = me.top = me.bottom = me[1] = y;\r
22     };\r
23 \r
24     Ext.lib.Point.prototype = new Ext.lib.Region();\r
25 </pre>
26 </body>
27 </html>