source: trunk/web/addons/job_monarch/lib/extjs-30/src/adapter/core/ext-base-point.js @ 625

Last change on this file since 625 was 625, checked in by ramonb, 15 years ago

lib/extjs-30:

  • new ExtJS 3.0
File size: 431 bytes
Line 
1/*!
2 * Ext JS Library 3.0.0
3 * Copyright(c) 2006-2009 Ext JS, LLC
4 * licensing@extjs.com
5 * http://www.extjs.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.