docs/end.html
<!DOCTYPE html>
<html>
<head>
<title>end.js</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<link rel="stylesheet" media="all" href="docco.css" />
</head>
<body>
<div id="container">
<div id="background"></div>
<ul id="jump_to">
<li>
<a class="large" href="javascript:void(0);">Jump To …</a>
<a class="small" href="javascript:void(0);">+</a>
<div id="jump_wrapper">
<div id="jump_page">
<a class="source" href="ajax.html">
ajax.js
</a>
<a class="source" href="anim.html">
anim.js
</a>
<a class="source" href="core.html">
core.js
</a>
<a class="source" href="detect.html">
detect.js
</a>
<a class="source" href="dom.html">
dom.js
</a>
<a class="source" href="end.html">
end.js
</a>
<a class="source" href="evt.html">
evt.js
</a>
<a class="source" href="fx.html">
fx.js
</a>
<a class="source" href="legacy.html">
legacy.js
</a>
<a class="source" href="misc.html">
misc.js
</a>
<a class="source" href="more.html">
more.js
</a>
<a class="source" href="polyfill.html">
polyfill.js
</a>
<a class="source" href="sizzle.html">
sizzle.js
</a>
<a class="source" href="start.html">
start.js
</a>
<a class="source" href="test.html">
test.js
</a>
<a class="source" href="util.html">
util.js
</a>
</div>
</li>
</ul>
<ul class="sections">
<li id="title">
<div class="annotation">
<h1>end.js</h1>
</div>
</li>
<li id="section-1">
<div class="annotation">
<div class="pilwrap ">
<a class="pilcrow" href="#section-1">¶</a>
</div>
</div>
</li>
<li id="section-2">
<div class="annotation">
<div class="pilwrap ">
<a class="pilcrow" href="#section-2">¶</a>
</div>
<h2 id="hilo-extension-api">Hilo Extension API</h2>
</div>
<div class="content"><div class='highlight'><pre>
<span class="hljs-comment">/* Provide Extension API */</span>
extend(hilo, {
Dom: Dom.prototype,
Test: Test.prototype
});
<span class="hljs-comment">/* Set event handler for triggering DOM Events */</span>
doc.onreadystatechange = <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">()</span> </span>{
<span class="hljs-keyword">if</span> (doc.readyState === <span class="hljs-string">"complete"</span>) {
<span class="hljs-keyword">for</span> (_i = <span class="hljs-number">0</span>; _i < callbacks.length; _i += <span class="hljs-number">1</span>) {
callbacks[_i]();
}
}
};
<span class="hljs-comment">/* Get the total time took to execute the script */</span>
hilo.perf = <span class="hljs-keyword">new</span> <span class="hljs-built_in">Date</span>().getTime() - start;</pre></div></div>
</li>
<li id="section-3">
<div class="annotation">
<div class="pilwrap ">
<a class="pilcrow" href="#section-3">¶</a>
</div>
<p>Finally return Hilo</p>
</div>
<div class="content"><div class='highlight'><pre> <span class="hljs-keyword">return</span> hilo;
}));</pre></div></div>
</li>
</ul>
</div>
</body>
</html>