source:
trunk/workshop-routing-foss4g/web/ext/src/ext-core/src/adapter/ext-base-point.js
@
76
Revision 76, 422 bytes checked in by djay, 12 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | /*! |
2 | * Ext JS Library 3.4.0 |
3 | * Copyright(c) 2006-2011 Sencha Inc. |
4 | * licensing@sencha.com |
5 | * http://www.sencha.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(); |
Note: See TracBrowser
for help on using the repository browser.