Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / src / adapter / core / ext-base-point.js
diff --git a/src/adapter/core/ext-base-point.js b/src/adapter/core/ext-base-point.js
new file mode 100644 (file)
index 0000000..01817d4
--- /dev/null
@@ -0,0 +1,17 @@
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+       Ext.lib.Point = function(x, y) {\r
+        if (Ext.isArray(x)) {\r
+            y = x[1];\r
+            x = x[0];\r
+        }\r
+        var me = this;\r
+        me.x = me.right = me.left = me[0] = x;\r
+        me.y = me.top = me.bottom = me[1] = y;\r
+    };\r
+\r
+    Ext.lib.Point.prototype = new Ext.lib.Region();\r