-<html>\r
-<head>\r
- <title>The source code</title>\r
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body onload="prettyPrint();">\r
- <pre class="prettyprint lang-js">(function(){\r
+<html>
+<head>
+ <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 JS Library 3.0.3
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+(function(){\r
var doc = document,\r
isCSS1 = doc.compatMode == "CSS1Compat",\r
MAX = Math.max, \r
+ ROUND = Math.round,\r
PARSEINT = parseInt;\r
\r
Ext.lib.Dom = {\r
if (el.getBoundingClientRect) {\r
b = el.getBoundingClientRect();\r
scroll = fly(document).getScroll();\r
- ret = [b.left + scroll.left, b.top + scroll.top];\r
+ ret = [ROUND(b.left + scroll.left), ROUND(b.top + scroll.top)];\r
} else { \r
p = el; \r
hasAbsolute = fly(el).isStyle("position", "absolute");\r
this.setXY(el, [false, y]);\r
}\r
};\r
-})();</pre> \r
-</body>\r
+})();</pre>
+</body>
</html>
\ No newline at end of file