<html>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<title>The source code</title>
|
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
|
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
|
</head>
|
<body onload="prettyPrint();">
|
<pre class="prettyprint lang-js"> Ext.lib.Point = function(x, y) {
|
if (Ext.isArray(x)) {
|
y = x[1];
|
x = x[0];
|
}
|
var me = this;
|
me.x = me.right = me.left = me[0] = x;
|
me.y = me.top = me.bottom = me[1] = y;
|
};
|
|
Ext.lib.Point.prototype = new Ext.lib.Region();
|
</pre>
|
</body>
|
</html>
|