~cdparra/gelee/trunk

« back to all changes in this revision

Viewing changes to webui/extjs/source/adapter/core/ext-base-point.js

  • Committer: parra
  • Date: 2010-03-15 15:56:56 UTC
  • Revision ID: svn-v4:ac5bba68-f036-4e09-846e-8f32731cc928:trunk/gelee:1448
merged gelee at svn

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Ext JS Library 3.0 RC2
 
3
 * Copyright(c) 2006-2009, Ext JS, LLC.
 
4
 * licensing@extjs.com
 
5
 * 
 
6
 * http://extjs.com/license
 
7
 */
 
8
 
 
9
        Ext.lib.Point = function(x, y) {
 
10
        if (Ext.isArray(x)) {
 
11
            y = x[1];
 
12
            x = x[0];
 
13
        }
 
14
        var me = this;
 
15
        me.x = me.right = me.left = me[0] = x;
 
16
        me.y = me.top = me.bottom = me[1] = y;
 
17
    };
 
18
 
 
19
    Ext.lib.Point.prototype = new Ext.lib.Region();