4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>The source code</title>
6 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
7 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
8 <style type="text/css">
9 .highlight { display: block; background-color: #ddd; }
11 <script type="text/javascript">
12 function highlight() {
13 document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
17 <body onload="prettyPrint(); highlight();">
18 <pre class="prettyprint lang-js"><span id='Ext-ShadowPool'>/**
19 </span> * Private utility class that manages the internal Shadow cache
22 Ext.define('Ext.ShadowPool', {
24 requires: ['Ext.DomHelper'],
27 if (Ext.supports.CSS3BoxShadow) {
28 return '<div class="' + Ext.baseCSSPrefix + 'css-shadow" role="presentation"></div>';
29 } else if (Ext.isIE) {
30 return '<div class="' + Ext.baseCSSPrefix + 'ie-shadow" role="presentation"></div>';
32 return '<div class="' + Ext.baseCSSPrefix + 'frame-shadow" role="presentation">' +
33 '<div class="xst" role="presentation">' +
34 '<div class="xstl" role="presentation"></div>' +
35 '<div class="xstc" role="presentation"></div>' +
36 '<div class="xstr" role="presentation"></div>' +
38 '<div class="xsc" role="presentation">' +
39 '<div class="xsml" role="presentation"></div>' +
40 '<div class="xsmc" role="presentation"></div>' +
41 '<div class="xsmr" role="presentation"></div>' +
43 '<div class="xsb" role="presentation">' +
44 '<div class="xsbl" role="presentation"></div>' +
45 '<div class="xsbc" role="presentation"></div>' +
46 '<div class="xsbr" role="presentation"></div>' +
55 var sh = this.shadows.shift();
57 sh = Ext.get(Ext.DomHelper.insertHtml("beforeBegin", document.body.firstChild, this.markup));
58 sh.autoBoxAdjust = false;
64 this.shadows.push(sh);
68 Ext.Array.each(this.shadows, function(shadow) {