📄 overview-summary-sarissa_ieemu_load.js.html
字号:
<!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><html><head><title>sarissa Overview</title><link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style"><script>function asd() { parent.document.title="sarissa_ieemu_load.js Overview"; }</script></head><body bgcolor="#eeeeee" onload="asd();"><!-- ========== START OF NAVBAR ========== --><a name="navbar_top"><!-- --></a><table border="0" width="100%" cellpadding="1" cellspacing="0"><tr><td colspan=2 bgcolor="#b8cade" class="NavBarCell1"><a name="navbar_top_firstrow"><!-- --></a><table border="0" cellpadding="0" cellspacing="3"> <tr align="center" valign="top"> <td bgcolor="#b8cade" class="NavBarCell1"> <a href="overview-summary.html"><font class="NavBarFont1"><b>Overview</b></font></a> </td> <td bgcolor="#FFFFFF" class="NavBarCell1Rev"> <font class="NavBarFont1Rev"><b>File</b></font> </td> <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font> </td> <td bgcolor="#b8cade" class="NavBarCell1"> <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a> </td> <td bgcolor="#b8cade" class="NavBarCell1"> <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a> </td> <td bgcolor="#b8cade" class="NavBarCell1"> <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a> </td> </tr></table></td><td bgcolor="#b8cade" align="right" valign="top"><em><b>sarissa</b></em></td></tr><tr><td bgcolor="#eeeeee" class="NavBarCell2"><font size="-2"> PREV NEXT</font></td><td bgcolor="#eeeeee" class="NavBarCell2"><font size="-2"> <a href="index.html" target="_top"><b>FRAMES</b></a> <a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a> <script> <!-- if(window==top) { document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></script><noscript><a href="allclasses-noframe.html" target=""><b>All Classes</b></a></noscript></font></td></tr></table><!-- =========== END OF NAVBAR =========== --><hr><center> <h2>sarissa_ieemu_load.js</h2> </center> <h4>Summary</h4><p> No overview generated for 'sarissa_ieemu_load.js'<BR/><BR/> </p><hr> <table border="1" cellpadding="3" cellspacing="0" width="100%"> <tr bgcolor="#CCCCFF" class="TableHeadingColor"> <td colspan=2><font size="+2"> <b>Class Summary</b> </font></td> </tr> <tr bgcolor="#eeeeee" class="TableRowColor"> <td width="15%"><b><a href="SarissaParseError.html">SarissaParseError</a></b></td> <td> </td> </tr> </table> <hr/> <!-- ========== METHOD SUMMARY =========== --><!-- ========== END METHOD SUMMARY =========== --> <pre class="sourceview"><span class="comment">/** * ==================================================================== * About * ==================================================================== * Sarissa cross browser XML library - IE .load eulation (deprecated) * <span class="attrib">@version</span> 0.9.7.6 * <span class="attrib">@author</span>: Manos Batsis, mailto: mbatsis at users full stop sourceforge full stop net * * This script emulates Internet Explorer's .load method of DOM Document objects. * * All functionality in this file is DEPRECATED, XMLHttpRequest objects * should be used to load XML documents instead * * <span class="attrib">@version</span> 0.9.7.6 * <span class="attrib">@author</span>: Manos Batsis, mailto: mbatsis at users full stop sourceforge full stop net * ==================================================================== * Licence * ==================================================================== * Sarissa is free software distributed under the GNU GPL version 2 (see <a href="gpl.txt">gpl.txt</a>) or higher, * GNU LGPL version 2.1 (see <a href="lgpl.txt">lgpl.txt</a>) or higher and Apache Software License 2.0 or higher * (see <a href="asl.txt">asl.txt</a>). This means you can choose one of the three and use that if you like. If * you make modifications under the ASL, i would appreciate it if you submitted those. * In case your copy of Sarissa does not include the license texts, you may find * them online in various formats at <a href="http://www.gnu.org">http://www.gnu.org</a> and * <a href="http://www.apache.org">http://www.apache.org</a>. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */</span><span class="reserved">if</span>(!_SARISSA_IS_IE){ <span class="reserved">if</span>(_SARISSA_HAS_DOM_CREATE_DOCUMENT){ <span class="comment">/** * <p>Ensures the document was loaded correctly, otherwise sets the * parseError to -1 to indicate something went wrong. Internal use</p> * <span class="attrib">@private</span> */</span> Sarissa.__handleLoad__ = <span class="reserved">function</span>(oDoc){ Sarissa.__setReadyState__(oDoc, 4); }; <span class="reserved">function</span> SarissaParseError() { <span class="reserved">this</span>.errorCode = 0; }; <span class="comment">/** * <p>Attached by an event handler to the load event. Internal use.</p> * <span class="attrib">@private</span> */</span> _sarissa_XMLDocument_onload = <span class="reserved">function</span>(){ Sarissa.__handleLoad__(<span class="reserved">this</span>); }; <span class="comment">/** * <p>Sets the readyState property of the given DOM Document object. * Internal use.</p> * <span class="attrib">@private</span> * <span class="attrib">@argument</span> oDoc the DOM Document object to fire the * readystatechange event * <span class="attrib">@argument</span> iReadyState the number to change the readystate property to */</span> Sarissa.__setReadyState__ = <span class="reserved">function</span>(oDoc, iReadyState){ oDoc.readyState = iReadyState; oDoc.readystate = iReadyState; <span class="reserved">if</span> (oDoc.onreadystatechange != null && typeof oDoc.onreadystatechange == <span class="literal">"function"</span>) oDoc.onreadystatechange(); }; Sarissa.getDomDocument = <span class="reserved">function</span>(sUri, sName){ var oDoc = document.implementation.createDocument(sUri?sUri:null, sName?sName:null, null); <span class="reserved">if</span>(!oDoc.onreadystatechange){ <span class="comment">/** * <p>Emulate IE's onreadystatechange attribute</p> */</span> oDoc.onreadystatechange = null; }; <span class="reserved">if</span>(!oDoc.readyState){ <span class="comment">/** * <p>Emulates IE's readyState property, which always gives an integer from 0 to 4:</p> * <ul><li>1 == LOADING,</li> * <li>2 == LOADED,</li> * <li>3 == INTERACTIVE,</li> * <li>4 == COMPLETED</li></ul> */</span> oDoc.readyState = 0; }; <span class="reserved">if</span>(!oDoc.parseError){ oDoc.parseError = new SarissaParseError(); }; oDoc.addEventListener(<span class="literal">"load"</span>, _sarissa_XMLDocument_onload, false); <span class="reserved">return</span> oDoc;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -