code
stringlengths
2
1.05M
repo_name
stringlengths
5
101
path
stringlengths
4
991
language
stringclasses
3 values
license
stringclasses
5 values
size
int64
2
1.05M
{% if 'maps.change_map' or 'maps.delete_map' in request.base_perms %} <ul class="statlist pull-right"> {% if 'maps.change_map' in request.base_perms %} <li title="Edit this Map"> <i class="icon-edit"></i> <a href="{% url 'map-update' object.id %}">Edit</a> </li> {% endif %} {% if 'maps.delete_map' in request.base_perms %} <li title="Delete this Map"> <i class="icon-trash"></i> <a href="{% url 'map-delete' object.id %}">Delete</a> </li> {% endif %} </ul> {% endif %}
stephenrjones/geoq
geoq/maps/templates/maps/_map_stat_list.html
HTML
mit
533
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>operator-&gt;</title> <link rel="stylesheet" href="apiReference.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> <link rel="start" href="index.html" title="Berkeley DB C++ Standard Template Library API Reference" /> <link rel="up" href="db_vector_iterator.html" title="Chapter 13.  Db_vector_iterator" /> <link rel="prev" href="stldb_vector_iteratoroperator__star.html" title="operator *" /> <link rel="next" href="stldb_vector_iteratoroperator_sqbrk.html" title="operator[]" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center"> operator-&gt; </th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="stldb_vector_iteratoroperator__star.html">Prev</a> </td> <th width="60%" align="center">Chapter 13.  Db_vector_iterator </th> <td width="20%" align="right"> <a accesskey="n" href="stldb_vector_iteratoroperator_sqbrk.html">Next</a></td> </tr> </table> <hr /> </div> <div class="sect1" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h2 class="title" style="clear: both"><a id="stldb_vector_iteratoroperator_arrow"></a> operator-&gt; </h2> </div> </div> </div> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="func_details"></a> Function Details</h3> </div> </div> </div> <pre class="programlisting"> pointer operator-&gt;() const </pre> <div class="sect3" lang="en" xml:lang="en"> <div class="titlepage"></div> <p>Arrow operator. </p> <p>Return the pointer to the cached data element, which is an ElementRef&lt;T&gt; object if T is a class type or an ElementHolder&lt;T&gt; object if T is a C++ primitive data type. The returned value can be used to read or update its referenced element. </p> </div> <div class="sect3" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h4 class="title"><a id="id1562500"></a> Return Value</h4> </div> </div> </div> <p>The address of the referenced object. </p> </div> </div> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="id1562436"></a> Class</h3> </div> </div> </div> <p> <a class="link" href="db_vector_iterator.html" title="Chapter 13.  Db_vector_iterator"> db_vector_iterator</a> </p> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="stldb_vector_iteratoroperator__star.html">Prev</a> </td> <td width="20%" align="center"> <a accesskey="u" href="db_vector_iterator.html">Up</a> </td> <td width="40%" align="right"> <a accesskey="n" href="stldb_vector_iteratoroperator_sqbrk.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top"> operator *  </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top">  operator[] </td> </tr> </table> </div> </body> </html>
egoitzro/poedit
deps/db/docs/api_reference/STL/stldb_vector_iteratoroperator_arrow.html
HTML
mit
4,007
<!doctype html> <html> <head> <title>Mithril</title> <link href="lib/prism/prism.css" rel="stylesheet" /> <link href="style.css" rel="stylesheet" /> </head> <body> <header> <nav class="container"> <a href="index.html" class="logo"><span>&#9675;</span> Mithril</a> <a href="getting-started.html">Guide</a> <a href="mithril.html">API</a> <a href="community.html">Community</a> <a href="http://lhorie.github.io/mithril-blog">Blog</a> <a href="mithril.min.zip">Download</a> <a href="http://github.com/lhorie/mithril.js" target="_blank">Github</a> </nav> </header> <main> <section class="content"> <div class="container"> <div class="row"> <div class="col(3,3,12)"> <h2 id="api">API (v0.1.18)</h2> <h3 id="core">Core</h3> <ul> <li><a href="mithril.html">m</a></li> <li><a href="mithril.prop.html">m.prop</a></li> <li><a href="mithril.withAttr.html">m.withAttr</a></li> <li><a href="mithril.module.html">m.module</a></li> <li><a href="mithril.trust.html">m.trust</a></li> <li><a href="mithril.render.html">m.render</a></li> <li><a href="mithril.redraw.html">m.redraw</a></li> </ul> <h3 id="routing">Routing</h3> <ul> <li><a href="mithril.route.html">m.route</a> <ul> <li><a href="mithril.route.html#defining-routes">m.route(rootElement, defaultRoute, routes)</a></li> <li><a href="mithril.route.html#redirecting">m.route(path, params)</a></li> <li><a href="mithril.route.html#reading-current-route">m.route()</a></li> <li><a href="mithril.route.html#mode-abstraction">m.route(element)</a></li> <li><a href="mithril.route.html#mode">m.route.mode</a></li> <li><a href="mithril.route.html#param">m.route.param</a></li> </ul> </li> </ul> <h3 id="data">Data</h3> <ul> <li><a href="mithril.request.html">m.request</a></li> <li><a href="mithril.deferred.html">m.deferred</a></li> <li><a href="mithril.sync.html">m.sync</a></li> <li><a href="mithril.computation.html">m.startComputation / m.endComputation</a></li> </ul> <h2 id="archive">History</h2> <ul> <li><a href="roadmap.html">Roadmap</a></li> <li><a href="change-log.html">Change log</a></li> </ul> </div> <div class="col(9,9,12)"> <h2 id="m-render">m.render</h2> <p>This method generates a DOM tree inside of a given HTML element.</p> <p>If the method is run more than once with the same root element, it diffs the new tree against the existing one and intelligently modifies only the portions that have changed.</p> <p>Note that, unlike many templating engines, this &quot;smart diff&quot; feature does not affect things like cursor placement in inputs and focus, and is therefore safe to call during user interactions.</p> <hr> <h3 id="usage">Usage</h3> <p>Assuming a document has an empty <code>&lt;body&gt;</code> element, the code below:</p> <pre><code class="lang-javascript">var links = [ {title: &quot;item 1&quot;, url: &quot;/item1&quot;} ]; m.render(document.body, [ m(&quot;ul.nav&quot;, [ m(&quot;li&quot;, links.map(function(link) { return m(&quot;a&quot;, {href: link.url, config: m.route}, link.title) }) ]) ]);</code></pre> <p>yields:</p> <pre><code class="lang-markup">&lt;body&gt; &lt;ul class=&quot;nav&quot;&gt; &lt;li&gt; &lt;a href=&quot;/item1&quot;&gt;item 1&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/body&gt;</code></pre> <hr> <h3 id="subtree-directives">Subtree Directives</h3> <p><code>m.render</code> accepts a special low level SubtreeDirective object as a node in a virtual DOM tree: if a tree contains a node that looks exactly like the object below, Mithril will abort the diff algorithm for that node. This allows you to implement optimizations that avoid creating virtual DOM trees in favor of their cached counterparts, if you know they have not changed between redraws. Note that using this feature is discouraged if you don&#39;t have visible performance problems.</p> <pre><code class="lang-javascript">{subtree: &quot;retain&quot;}</code></pre> <p>This mechanism is only intended to be used as a last resort optimization tool. If you do use it, you are responsible for determining what constitutes a scenario where the virtual DOM tree is changed/unchanged.</p> <p>The example below shows how to use a SubtreeDirective object to create a static header that doesn&#39;t incur diff costs once it has been rendered. This means that we are avoiding the creation of the header subtree (and therefore skipping the diff algorithm) altogether, but it also means that dynamic variables will NOT be updated within the header.</p> <pre><code>var app = {} //here&#39;s an example plugin that determines whether data has changes. //in this case, it simply assume data has changed the first time, and never changes after that. app.bindOnce = new function() { var cache = {} function(view) { if (!cache[view.toString()]) { cache[view.toString()] = true return view() } else return {subtree: &quot;retain&quot;} } } //here&#39;s the view app.view = function(ctrl) { m(&quot;.layout&quot;, [ app.bindOnce(function() { //this only runs once in order to boost performance //dynamic variables are not updated here return m(&quot;header&quot;, [ m(&quot;h1&quot;, &quot;this never changes&quot;) ]) }), //dynamic variables here still update on every redraw m(&quot;main&quot;, &quot;rest of app goes here&quot;) ]) }</code></pre> <hr> <h3 id="signature">Signature</h3> <p><a href="how-to-read-signatures.html">How to read signatures</a></p> <pre><code class="lang-clike">void render(DOMElement rootElement, Children children) where: Children :: String text | VirtualElement virtualElement | SubtreeDirective directive | Array&lt;Children children&gt; VirtualElement :: Object { String tag, Attributes attributes, Children children } Attributes :: Object&lt;Any | void config(DOMElement element)&gt; SubtreeDirective :: Object { String subtree }</code></pre> <ul> <li><p><strong>DOMElement rootElement</strong></p> <p>A DOM element which will contain the template represented by <code>children</code>.</p> </li> <li><p><strong>Children children</strong></p> <p>If this argument is a string, it will be rendered as a text node. To render a string as HTML, see <a href="mithril.trust.html"><code>m.trust</code></a></p> <p>If it&#39;s a VirtualElement, it will be rendered as a DOM Element.</p> <p>If it&#39;s a list, its contents will recursively be rendered as appropriate and appended as children of the <code>root</code> element.</p> </li> </ul> </div> </div> </div> </section> </main> <footer> <div class="container"> Released under the <a href="http://opensource.org/licenses/MIT" target="_blank">MIT license</a> <br />&copy; 2014 Leo Horie </div> </footer> <script src="lib/prism/prism.js"></script> </body> </html>
ornicar/mithril.js
archive/v0.1.18/mithril.render.html
HTML
mit
7,263
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_65) on Sun Mar 29 01:31:55 JST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>DirectMessage (twitter4j-core 4.0.3 API)</title> <meta name="date" content="2015-03-29"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="DirectMessage (twitter4j-core 4.0.3 API)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/DirectMessage.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../deprecated-list.html">Deprecated</a></li> <li><a href="../index-all.html">Index</a></li> <li><a href="../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../twitter4j/CursorSupport.html" title="interface in twitter4j"><span class="strong">Prev Class</span></a></li> <li><a href="../twitter4j/Dispatcher.html" title="interface in twitter4j"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../index.html?twitter4j/DirectMessage.html" target="_top">Frames</a></li> <li><a href="DirectMessage.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">twitter4j</div> <h2 title="Interface DirectMessage" class="title">Interface DirectMessage</h2> </div> <div class="contentContainer"> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Superinterfaces:</dt> <dd><a href="../twitter4j/EntitySupport.html" title="interface in twitter4j">EntitySupport</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../twitter4j/TwitterResponse.html" title="interface in twitter4j">TwitterResponse</a></dd> </dl> <hr> <br> <pre>public interface <span class="strong">DirectMessage</span> extends <a href="../twitter4j/TwitterResponse.html" title="interface in twitter4j">TwitterResponse</a>, <a href="../twitter4j/EntitySupport.html" title="interface in twitter4j">EntitySupport</a>, <a href="http://download.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> <div class="block">A data interface representing sent/received direct message.</div> <dl><dt><span class="strong">Author:</span></dt> <dd>Yusuke Yamamoto - yusuke at mac.com</dd></dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> <ul class="blockList"> <li class="blockList"><a name="fields_inherited_from_class_twitter4j.TwitterResponse"> <!-- --> </a> <h3>Fields inherited from interface&nbsp;twitter4j.<a href="../twitter4j/TwitterResponse.html" title="interface in twitter4j">TwitterResponse</a></h3> <code><a href="../twitter4j/TwitterResponse.html#NONE">NONE</a>, <a href="../twitter4j/TwitterResponse.html#READ">READ</a>, <a href="../twitter4j/TwitterResponse.html#READ_WRITE">READ_WRITE</a>, <a href="../twitter4j/TwitterResponse.html#READ_WRITE_DIRECTMESSAGES">READ_WRITE_DIRECTMESSAGES</a></code></li> </ul> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td> <td class="colLast"><code><strong><a href="../twitter4j/DirectMessage.html#getCreatedAt()">getCreatedAt</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><strong><a href="../twitter4j/DirectMessage.html#getId()">getId</a></strong>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../twitter4j/User.html" title="interface in twitter4j">User</a></code></td> <td class="colLast"><code><strong><a href="../twitter4j/DirectMessage.html#getRecipient()">getRecipient</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><strong><a href="../twitter4j/DirectMessage.html#getRecipientId()">getRecipientId</a></strong>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><strong><a href="../twitter4j/DirectMessage.html#getRecipientScreenName()">getRecipientScreenName</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../twitter4j/User.html" title="interface in twitter4j">User</a></code></td> <td class="colLast"><code><strong><a href="../twitter4j/DirectMessage.html#getSender()">getSender</a></strong>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><strong><a href="../twitter4j/DirectMessage.html#getSenderId()">getSenderId</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><strong><a href="../twitter4j/DirectMessage.html#getSenderScreenName()">getSenderScreenName</a></strong>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><strong><a href="../twitter4j/DirectMessage.html#getText()">getText</a></strong>()</code>&nbsp;</td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_twitter4j.TwitterResponse"> <!-- --> </a> <h3>Methods inherited from interface&nbsp;twitter4j.<a href="../twitter4j/TwitterResponse.html" title="interface in twitter4j">TwitterResponse</a></h3> <code><a href="../twitter4j/TwitterResponse.html#getAccessLevel()">getAccessLevel</a>, <a href="../twitter4j/TwitterResponse.html#getRateLimitStatus()">getRateLimitStatus</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_twitter4j.EntitySupport"> <!-- --> </a> <h3>Methods inherited from interface&nbsp;twitter4j.<a href="../twitter4j/EntitySupport.html" title="interface in twitter4j">EntitySupport</a></h3> <code><a href="../twitter4j/EntitySupport.html#getExtendedMediaEntities()">getExtendedMediaEntities</a>, <a href="../twitter4j/EntitySupport.html#getHashtagEntities()">getHashtagEntities</a>, <a href="../twitter4j/EntitySupport.html#getMediaEntities()">getMediaEntities</a>, <a href="../twitter4j/EntitySupport.html#getSymbolEntities()">getSymbolEntities</a>, <a href="../twitter4j/EntitySupport.html#getURLEntities()">getURLEntities</a>, <a href="../twitter4j/EntitySupport.html#getUserMentionEntities()">getUserMentionEntities</a></code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="getId()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getId</h4> <pre>long&nbsp;getId()</pre> </li> </ul> <a name="getText()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getText</h4> <pre><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getText()</pre> </li> </ul> <a name="getSenderId()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSenderId</h4> <pre>long&nbsp;getSenderId()</pre> </li> </ul> <a name="getRecipientId()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getRecipientId</h4> <pre>long&nbsp;getRecipientId()</pre> </li> </ul> <a name="getCreatedAt()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getCreatedAt</h4> <pre><a href="http://download.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a>&nbsp;getCreatedAt()</pre> <dl><dt><span class="strong">Returns:</span></dt><dd>created_at</dd><dt><span class="strong">Since:</span></dt> <dd>Twitter4J 1.1.0</dd></dl> </li> </ul> <a name="getSenderScreenName()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSenderScreenName</h4> <pre><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getSenderScreenName()</pre> </li> </ul> <a name="getRecipientScreenName()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getRecipientScreenName</h4> <pre><a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getRecipientScreenName()</pre> </li> </ul> <a name="getSender()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSender</h4> <pre><a href="../twitter4j/User.html" title="interface in twitter4j">User</a>&nbsp;getSender()</pre> </li> </ul> <a name="getRecipient()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>getRecipient</h4> <pre><a href="../twitter4j/User.html" title="interface in twitter4j">User</a>&nbsp;getRecipient()</pre> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/DirectMessage.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../deprecated-list.html">Deprecated</a></li> <li><a href="../index-all.html">Index</a></li> <li><a href="../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../twitter4j/CursorSupport.html" title="interface in twitter4j"><span class="strong">Prev Class</span></a></li> <li><a href="../twitter4j/Dispatcher.html" title="interface in twitter4j"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../index.html?twitter4j/DirectMessage.html" target="_top">Frames</a></li> <li><a href="DirectMessage.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2015. All Rights Reserved.</small></p> </body> </html>
egeyman/Final-Project
twitter4j-core/javadoc/twitter4j/DirectMessage.html
HTML
apache-2.0
13,943
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Modern Business - Start Bootstrap Template</title> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- Custom CSS --> <link href="css/modern-business.css" rel="stylesheet"> <!-- Custom Fonts --> <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <!-- Navigation --> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.html">Start Bootstrap</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav navbar-right"> <li> <a href="about.html">About</a> </li> <li> <a href="services.html">Services</a> </li> <li> <a href="contact.html">Contact</a> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Portfolio <b class="caret"></b></a> <ul class="dropdown-menu"> <li> <a href="portfolio-1-col.html">1 Column Portfolio</a> </li> <li> <a href="portfolio-2-col.html">2 Column Portfolio</a> </li> <li> <a href="portfolio-3-col.html">3 Column Portfolio</a> </li> <li> <a href="portfolio-4-col.html">4 Column Portfolio</a> </li> <li> <a href="portfolio-item.html">Single Portfolio Item</a> </li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Blog <b class="caret"></b></a> <ul class="dropdown-menu"> <li> <a href="blog-home-1.html">Blog Home 1</a> </li> <li> <a href="blog-home-2.html">Blog Home 2</a> </li> <li> <a href="blog-post.html">Blog Post</a> </li> </ul> </li> <li class="dropdown active"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Other Pages <b class="caret"></b></a> <ul class="dropdown-menu"> <li> <a href="full-width.html">Full Width Page</a> </li> <li> <a href="sidebar.html">Sidebar Page</a> </li> <li class="active"> <a href="faq.html">FAQ</a> </li> <li> <a href="404.html">404</a> </li> <li> <a href="pricing.html">Pricing Table</a> </li> </ul> </li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container --> </nav> <!-- Page Content --> <div class="container"> <!-- Page Heading/Breadcrumbs --> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">FAQ <small>Subheading</small> </h1> <ol class="breadcrumb"> <li><a href="index.html">Home</a> </li> <li class="active">FAQ</li> </ol> </div> </div> <!-- /.row --> <!-- Content Row --> <div class="row"> <div class="col-lg-12"> <div class="panel-group" id="accordion"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseOne">Lorem ipsum dolor sit amet, consectetur adipiscing elit?</a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> </div> <!-- /.panel --> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">Curabitur eget leo at velit imperdiet varius. In eu ipsum vitae velit congue iaculis vitae at risus?</a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> </div> <!-- /.panel --> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseThree">Aenean consequat lorem ut felis ullamcorper?</a> </h4> </div> <div id="collapseThree" class="panel-collapse collapse"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> </div> <!-- /.panel --> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseFour">Lorem ipsum dolor sit amet, consectetur adipiscing elit?</a> </h4> </div> <div id="collapseFour" class="panel-collapse collapse"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> </div> <!-- /.panel --> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseFive">Curabitur eget leo at velit imperdiet varius. In eu ipsum vitae velit congue iaculis vitae at risus?</a> </h4> </div> <div id="collapseFive" class="panel-collapse collapse"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> </div> <!-- /.panel --> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseSix">Aenean consequat lorem ut felis ullamcorper?</a> </h4> </div> <div id="collapseSix" class="panel-collapse collapse"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> </div> <!-- /.panel --> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseSeven">Lorem ipsum dolor sit amet, consectetur adipiscing elit?</a> </h4> </div> <div id="collapseSeven" class="panel-collapse collapse"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> </div> <!-- /.panel --> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseEight">Curabitur eget leo at velit imperdiet varius. In eu ipsum vitae velit congue iaculis vitae at risus?</a> </h4> </div> <div id="collapseEight" class="panel-collapse collapse"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> </div> <!-- /.panel --> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseNine">Aenean consequat lorem ut felis ullamcorper?</a> </h4> </div> <div id="collapseNine" class="panel-collapse collapse"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> </div> <!-- /.panel --> </div> <!-- /.panel-group --> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> <hr> <!-- Footer --> <footer> <div class="row"> <div class="col-lg-12"> <p>Copyright &copy; Your Website 2015</p> </div> </div> </footer> </div> <!-- /.container --> <!-- jQuery --> <script src="js/jquery.js"></script> <!-- Bootstrap Core JavaScript --> <script src="js/bootstrap.min.js"></script> </body> </html>
QualGreens/qualgreens.github.io
faq.html
HTML
apache-2.0
18,305
{% extends "!layout.html" %} {% block sidebartitle %} {{ super() }} <br><img style="background-color: #fff; height: unset; width: unset;" alt="Hyperledger Fabric" src={{ pathto("_images/hyperledger_fabric_logo_color.png",1) }} /> <br> <a href="https://github.com/hyperledger/fabric"><img style="padding: 0px; margin: auto auto auto auto;" alt="GitHub" src="{{ pathto("_static/images/github_button.png", 1) }}"/></a> &nbsp;<a href="https://stackoverflow.com/questions/tagged/hyperledger-fabric"><img style="padding: 0px; margin: auto auto auto auto;" alt="StackOverflow" src="{{ pathto("_static/images/stackoverflow_button.png", 1) }}"/></a> &nbsp;<a href="https://chat.hyperledger.org"><img style="padding: 0px; margin: auto auto auto auto;" alt="Rocket Chat" src="{{ pathto("_static/images/rocketchat_button.png", 1) }}"/></a> &nbsp;<a href="https://www.youtube.com/playlist?list=PL0MZ85B_96CH7wvtrRzV7SvtRY0sI0DEg"><img style="padding: 0px; margin: auto auto auto auto;" alt="Youtube Channel" src="{{ pathto("_static/images/youtube_button.png", 1) }}"/></a> {% endblock %}
stemlending/fabric
docs/source/_templates/layout.html
HTML
apache-2.0
1,076
<!DOCTYPE html> <html lang="en"> <head> {% include "header.html" %} </head> <body> <div class="wrapper"> <div id="content"> <div class="wrapper"> {% include "sidebar.html" %} {% block content %}{% endblock %} </div> </div> </div> </body> </html>
defpoint/threat_note
threat_note/templates/base.html
HTML
apache-2.0
314
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>MD5</title> <link rel="stylesheet" href="../node_modules/mocha/mocha.css"> <script src="../node_modules/mocha/mocha.js"></script> <script src="../node_modules/expect.js/index.js"></script> <script src="../src/md5.js"></script> </head> <body> <div id="mocha"></div> <script> mocha.setup('bdd'); </script> <script src="test.js"></script> <script> mocha.checkLeaks(); mocha.run(); </script> </body> </html>
occ55/Mikrobiyoloji
server/node_modules/js-md5/tests/index.html
HTML
apache-2.0
532
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Calendar Sample: Desktop</title> <style type="text/css"> @import "../themes/claro/Calendar.css"; @import "calendar.css"; @import "asyncStore.css"; @import "../../../dojo/resources/dojo.css"; @import "../../../dijit/themes/dijit.css"; @import "../../../dijit/themes/claro/claro.css"; </style> </head> <body class="claro"> <script type="text/javascript" data-dojo-config="async: true, parseOnLoad: true" src="../../../dojo/dojo.js"></script> <script type="text/javascript"> require(["dojo/ready", "dojo/_base/declare", "dojo/_base/lang", "dojo/_base/sniff", "dojo/_base/array", "dojo/_base/fx", "dojo/on", "dojo/date/locale", "dojo/parser", "dojo/Deferred", "dojo/dom", "dojo/dom-construct", "dojo/store/Memory", "dojo/store/Observable", "dojox/calendar/Calendar", "dijit/Calendar", "dijit/Menu", "dijit/MenuItem" ], function(ready, declare, lang, has, arr, fx, on, locale, parser, Deferred, dom, domConstruct, Memory, Observable, Calendar){ ready(function(){ // Display different hint every 10 seconds var hints = [ "Hint: Create an event by clicking and dragging on the grid while maintaining the control key", "Hint: Move an event by clicking on it and dragging it", "Hint: Resize an event by clicking on one of its ends and dragging it" ]; var hintIdx = 0; dom.byId("hint").innerHTML = hints[0]; setInterval(function(){ fx.fadeOut({node: "hint", onEnd: function(){ hintIdx = hintIdx+1>hints.length-1 ? 0 : hintIdx+1; dom.byId("hint").innerHTML = hints[hintIdx]; fx.fadeIn({node: "hint"}).play(500); } }).play(500); }, 10000); // Calendar model creation var modelBase = [ {day: 1, start: [10,0], duration: 1400}, {day: 2, start: [10,30], duration: 120}, {day: 2, start: [12,0], duration: 240}, {day: 3, start: [6,0], duration: 180}, {day: 3, start: [0,0], duration: 2880, allDay: true} ]; var someData = []; var startOfWeek = calendar.floorToWeek(new calendar.dateClassObj()); for (var id=0; id<modelBase.length; id++) { var newObj = { id: id, summary: "New Event " + id, startTime: new calendar.dateClassObj(startOfWeek.getTime()), endTime: new calendar.dateClassObj(startOfWeek.getTime()), allDay: modelBase[id].allDay }; newObj.startTime = calendar.dateModule.add(newObj.startTime, "day", modelBase[id].day); newObj.startTime.setHours(modelBase[id].start[0]); newObj.startTime.setMinutes(modelBase[id].start[1]); newObj.endTime = calendar.dateModule.add(newObj.startTime, "minute", modelBase[id].duration); someData.push(newObj); } // BEGIN HACK // Hack to simulate some latency when adding / updating an event. // Observable is breaking completely the inheritance chain var store = new Observable(Memory({data: someData})); var oldPut = store.put; store.put = function(value, options){ setTimeout(lang.hitch(this, function(){ oldPut.call(this, value, options); }), 3000); return new Deferred(); }; // END HACK calendar.set("store", store); calendar.set("date", startOfWeek); // Enable creation of event interactively by ctrl clicking grid. var createItem = function(view, d, e){ // create item by maintaining control key if(!e.ctrlKey || e.shiftKey || e.altKey){ return null; } // create a new event var start, end; var colView = calendar.columnView; var cal = calendar.dateModule; if(view == colView){ start = calendar.floorDate(d, "minute", colView.timeSlotDuration); end = cal.add(start, "minute", colView.timeSlotDuration); }else{ start = calendar.floorToDay(d); end = cal.add(start, "day", 1); } var item = { id: id, created: true, summary: "New event " + id, startTime: start, endTime: end, allDay: view.viewKind == "matrix" }; id++; return item; }; calendar.set("createOnGridClick", true); calendar.set("createItemFunc", createItem); // show context menu on right clicking an event calendar.on("itemContextMenu", function(e){ dojo.stopEvent(e.triggerEvent); calendarContextMenu._openMyself({ target: e.renderer.domNode, coords: {x: e.triggerEvent.pageX, y: e.triggerEvent.pageY} }); }); contextMenuDelete.on("click", function(){ arr.forEach(calendar.selectedItems, function(item){ calendar.store.remove(item.id); }); }); // Hide loading panel when application is ready fx.fadeOut({ node:"loadingPanel", onEnd: function(node){ node.parentNode.removeChild(node) }}).play(500); }); }); </script> <div id="loadingPanel" style="position:absolute;z-index:10;width:100%;height:100%;background:#ffffff"> <span style="background: #DBEB8F;padding:2px">Loading...</span> </div> <div data-dojo-id="calendar" data-dojo-type="dojox.calendar.Calendar" style="position:absolute;left:10px;top:10px;bottom:30px;right:10px"> <div data-dojo-type="dijit.Menu" data-dojo-id="calendarContextMenu" style="display: none;"> <div data-dojo-type="dijit.MenuItem" data-dojo-id="contextMenuDelete" data-dojo-props="iconClass:'dijitIcon dijitIconDelete'">Delete</div> </div> </div> <div id="hint" style="position:absolute;left:10px;height:15px;bottom:10px;right:10px;color:#999;overflow:auto"></div> </div> </body> </html>
denov/dojo-demo
src/main/webapp/js/dojox/calendar/tests/asyncStore.html
HTML
apache-2.0
6,363
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]--> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="Asciidoctor 1.5.2"> <title>git-blame(1)</title> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400"> <style> /* Asciidoctor default stylesheet | MIT License | http://asciidoctor.org */ /* Remove the comments around the @import statement below when using this as a custom stylesheet */ /*@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400";*/ article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block} audio,canvas,video{display:inline-block} audio:not([controls]){display:none;height:0} [hidden],template{display:none} script{display:none!important} html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%} body{margin:0} a{background:transparent} a:focus{outline:thin dotted} a:active,a:hover{outline:0} h1{font-size:2em;margin:.67em 0} abbr[title]{border-bottom:1px dotted} b,strong{font-weight:bold} dfn{font-style:italic} hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0} mark{background:#ff0;color:#000} code,kbd,pre,samp{font-family:monospace;font-size:1em} pre{white-space:pre-wrap} q{quotes:"\201C" "\201D" "\2018" "\2019"} small{font-size:80%} sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline} sup{top:-.5em} sub{bottom:-.25em} img{border:0} svg:not(:root){overflow:hidden} figure{margin:0} fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em} legend{border:0;padding:0} button,input,select,textarea{font-family:inherit;font-size:100%;margin:0} button,input{line-height:normal} button,select{text-transform:none} button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer} button[disabled],html input[disabled]{cursor:default} input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0} input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box} input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none} button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0} textarea{overflow:auto;vertical-align:top} table{border-collapse:collapse;border-spacing:0} *,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box} html,body{font-size:100%} body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto} a:hover{cursor:pointer} img,object,embed{max-width:100%;height:auto} object,embed{height:100%} img{-ms-interpolation-mode:bicubic} #map_canvas img,#map_canvas embed,#map_canvas object,.map_canvas img,.map_canvas embed,.map_canvas object{max-width:none!important} .left{float:left!important} .right{float:right!important} .text-left{text-align:left!important} .text-right{text-align:right!important} .text-center{text-align:center!important} .text-justify{text-align:justify!important} .hide{display:none} .antialiased,body{-webkit-font-smoothing:antialiased} img{display:inline-block;vertical-align:middle} textarea{height:auto;min-height:50px} select{width:100%} p.lead,.paragraph.lead>p,#preamble>.sectionbody>.paragraph:first-of-type p{font-size:1.21875em;line-height:1.6} .subheader,.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{line-height:1.45;color:#7a2518;font-weight:400;margin-top:0;margin-bottom:.25em} div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0;direction:ltr} a{color:#2156a5;text-decoration:underline;line-height:inherit} a:hover,a:focus{color:#1d4b8f} a img{border:none} p{font-family:inherit;font-weight:400;font-size:1em;line-height:1.6;margin-bottom:1.25em;text-rendering:optimizeLegibility} p aside{font-size:.875em;line-height:1.35;font-style:italic} h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{font-family:"Open Sans","DejaVu Sans",sans-serif;font-weight:300;font-style:normal;color:#ba3925;text-rendering:optimizeLegibility;margin-top:1em;margin-bottom:.5em;line-height:1.0125em} h1 small,h2 small,h3 small,#toctitle small,.sidebarblock>.content>.title small,h4 small,h5 small,h6 small{font-size:60%;color:#e99b8f;line-height:0} h1{font-size:2.125em} h2{font-size:1.6875em} h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em} h4,h5{font-size:1.125em} h6{font-size:1em} hr{border:solid #ddddd8;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em;height:0} em,i{font-style:italic;line-height:inherit} strong,b{font-weight:bold;line-height:inherit} small{font-size:60%;line-height:inherit} code{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;color:rgba(0,0,0,.9)} ul,ol,dl{font-size:1em;line-height:1.6;margin-bottom:1.25em;list-style-position:outside;font-family:inherit} ul,ol,ul.no-bullet,ol.no-bullet{margin-left:1.5em} ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0;font-size:1em} ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit} ul.square{list-style-type:square} ul.circle{list-style-type:circle} ul.disc{list-style-type:disc} ul.no-bullet{list-style:none} ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0} dl dt{margin-bottom:.3125em;font-weight:bold} dl dd{margin-bottom:1.25em} abbr,acronym{text-transform:uppercase;font-size:90%;color:rgba(0,0,0,.8);border-bottom:1px dotted #ddd;cursor:help} abbr{text-transform:none} blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd} blockquote cite{display:block;font-size:.9375em;color:rgba(0,0,0,.6)} blockquote cite:before{content:"\2014 \0020"} blockquote cite a,blockquote cite a:visited{color:rgba(0,0,0,.6)} blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)} @media only screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2} h1{font-size:2.75em} h2{font-size:2.3125em} h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em} h4{font-size:1.4375em}}table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede} table thead,table tfoot{background:#f7f8f7;font-weight:bold} table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;color:rgba(0,0,0,.8);text-align:left} table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)} table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f8f8f7} table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6} h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em} h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400} .clearfix:before,.clearfix:after,.float-group:before,.float-group:after{content:" ";display:table} .clearfix:after,.float-group:after{clear:both} *:not(pre)>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background-color:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed} pre,pre>code{line-height:1.45;color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;text-rendering:optimizeSpeed} .keyseq{color:rgba(51,51,51,.8)} kbd{display:inline-block;color:rgba(0,0,0,.8);font-size:.75em;line-height:1.4;background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em white inset;box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em #fff inset;margin:-.15em .15em 0 .15em;padding:.2em .6em .2em .5em;vertical-align:middle;white-space:nowrap} .keyseq kbd:first-child{margin-left:0} .keyseq kbd:last-child{margin-right:0} .menuseq,.menu{color:rgba(0,0,0,.8)} b.button:before,b.button:after{position:relative;top:-1px;font-weight:400} b.button:before{content:"[";padding:0 3px 0 2px} b.button:after{content:"]";padding:0 2px 0 3px} p a>code:hover{color:rgba(0,0,0,.9)} #header,#content,#footnotes,#footer{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1;position:relative;padding-left:.9375em;padding-right:.9375em} #header:before,#header:after,#content:before,#content:after,#footnotes:before,#footnotes:after,#footer:before,#footer:after{content:" ";display:table} #header:after,#content:after,#footnotes:after,#footer:after{clear:both} #content{margin-top:1.25em} #content:before{content:none} #header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0} #header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #ddddd8} #header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #ddddd8;padding-bottom:8px} #header .details{border-bottom:1px solid #ddddd8;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap} #header .details span:first-child{margin-left:-.125em} #header .details span.email a{color:rgba(0,0,0,.85)} #header .details br{display:none} #header .details br+span:before{content:"\00a0\2013\00a0"} #header .details br+span.author:before{content:"\00a0\22c5\00a0";color:rgba(0,0,0,.85)} #header .details br+span#revremark:before{content:"\00a0|\00a0"} #header #revnumber{text-transform:capitalize} #header #revnumber:after{content:"\00a0"} #content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #ddddd8;padding-bottom:8px;margin-top:0;padding-top:1rem;margin-bottom:1.25rem} #toc{border-bottom:1px solid #efefed;padding-bottom:.5em} #toc>ul{margin-left:.125em} #toc ul.sectlevel0>li>a{font-style:italic} #toc ul.sectlevel0 ul.sectlevel1{margin:.5em 0} #toc ul{font-family:"Open Sans","DejaVu Sans",sans-serif;list-style-type:none} #toc a{text-decoration:none} #toc a:active{text-decoration:underline} #toctitle{color:#7a2518;font-size:1.2em} @media only screen and (min-width:768px){#toctitle{font-size:1.375em} body.toc2{padding-left:15em;padding-right:0} #toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #efefed;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto} #toc.toc2 #toctitle{margin-top:0;font-size:1.2em} #toc.toc2>ul{font-size:.9em;margin-bottom:0} #toc.toc2 ul ul{margin-left:0;padding-left:1em} #toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em} body.toc2.toc-right{padding-left:0;padding-right:15em} body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #efefed;left:auto;right:0}}@media only screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0} #toc.toc2{width:20em} #toc.toc2 #toctitle{font-size:1.375em} #toc.toc2>ul{font-size:.95em} #toc.toc2 ul ul{padding-left:1.25em} body.toc2.toc-right{padding-left:0;padding-right:20em}}#content #toc{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px} #content #toc>:first-child{margin-top:0} #content #toc>:last-child{margin-bottom:0} #footer{max-width:100%;background-color:rgba(0,0,0,.8);padding:1.25em} #footer-text{color:rgba(255,255,255,.8);line-height:1.44} .sect1{padding-bottom:.625em} @media only screen and (min-width:768px){.sect1{padding-bottom:1.25em}}.sect1+.sect1{border-top:1px solid #efefed} #content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400} #content h1>a.anchor:before,h2>a.anchor:before,h3>a.anchor:before,#toctitle>a.anchor:before,.sidebarblock>.content>.title>a.anchor:before,h4>a.anchor:before,h5>a.anchor:before,h6>a.anchor:before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em} #content h1:hover>a.anchor,#content h1>a.anchor:hover,h2:hover>a.anchor,h2>a.anchor:hover,h3:hover>a.anchor,#toctitle:hover>a.anchor,.sidebarblock>.content>.title:hover>a.anchor,h3>a.anchor:hover,#toctitle>a.anchor:hover,.sidebarblock>.content>.title>a.anchor:hover,h4:hover>a.anchor,h4>a.anchor:hover,h5:hover>a.anchor,h5>a.anchor:hover,h6:hover>a.anchor,h6>a.anchor:hover{visibility:visible} #content h1>a.link,h2>a.link,h3>a.link,#toctitle>a.link,.sidebarblock>.content>.title>a.link,h4>a.link,h5>a.link,h6>a.link{color:#ba3925;text-decoration:none} #content h1>a.link:hover,h2>a.link:hover,h3>a.link:hover,#toctitle>a.link:hover,.sidebarblock>.content>.title>a.link:hover,h4>a.link:hover,h5>a.link:hover,h6>a.link:hover{color:#a53221} .audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em} .admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{text-rendering:optimizeLegibility;text-align:left;font-family:"Noto Serif","DejaVu Serif",serif;font-size:1rem;font-style:italic} table.tableblock>caption.title{white-space:nowrap;overflow:visible;max-width:0} .paragraph.lead>p,#preamble>.sectionbody>.paragraph:first-of-type p{color:rgba(0,0,0,.85)} table.tableblock #preamble>.sectionbody>.paragraph:first-of-type p{font-size:inherit} .admonitionblock>table{border-collapse:separate;border:0;background:none;width:100%} .admonitionblock>table td.icon{text-align:center;width:80px} .admonitionblock>table td.icon img{max-width:none} .admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase} .admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #ddddd8;color:rgba(0,0,0,.6)} .admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0} .exampleblock>.content{border-style:solid;border-width:1px;border-color:#e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;-webkit-border-radius:4px;border-radius:4px} .exampleblock>.content>:first-child{margin-top:0} .exampleblock>.content>:last-child{margin-bottom:0} .sidebarblock{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px} .sidebarblock>:first-child{margin-top:0} .sidebarblock>:last-child{margin-bottom:0} .sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center} .exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0} .literalblock pre,.listingblock pre:not(.highlight),.listingblock pre[class="highlight"],.listingblock pre[class^="highlight "],.listingblock pre.CodeRay,.listingblock pre.prettyprint{background:#f7f7f8} .sidebarblock .literalblock pre,.sidebarblock .listingblock pre:not(.highlight),.sidebarblock .listingblock pre[class="highlight"],.sidebarblock .listingblock pre[class^="highlight "],.sidebarblock .listingblock pre.CodeRay,.sidebarblock .listingblock pre.prettyprint{background:#f2f1f1} .literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;padding:1em;font-size:.8125em} .literalblock pre.nowrap,.literalblock pre[class].nowrap,.listingblock pre.nowrap,.listingblock pre[class].nowrap{overflow-x:auto;white-space:pre;word-wrap:normal} @media only screen and (min-width:768px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:.90625em}}@media only screen and (min-width:1280px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:1em}}.literalblock.output pre{color:#f7f7f8;background-color:rgba(0,0,0,.9)} .listingblock pre.highlightjs{padding:0} .listingblock pre.highlightjs>code{padding:1em;-webkit-border-radius:4px;border-radius:4px} .listingblock pre.prettyprint{border-width:0} .listingblock>.content{position:relative} .listingblock code[data-lang]:before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color:#999} .listingblock:hover code[data-lang]:before{display:block} .listingblock.terminal pre .command:before{content:attr(data-prompt);padding-right:.5em;color:#999} .listingblock.terminal pre .command:not([data-prompt]):before{content:"$"} table.pyhltable{border-collapse:separate;border:0;margin-bottom:0;background:none} table.pyhltable td{vertical-align:top;padding-top:0;padding-bottom:0} table.pyhltable td.code{padding-left:.75em;padding-right:0} pre.pygments .lineno,table.pyhltable td:not(.code){color:#999;padding-left:0;padding-right:.5em;border-right:1px solid #ddddd8} pre.pygments .lineno{display:inline-block;margin-right:.25em} table.pyhltable .linenodiv{background:none!important;padding-right:0!important} .quoteblock{margin:0 1em 1.25em 1.5em;display:table} .quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em} .quoteblock blockquote,.quoteblock blockquote p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify} .quoteblock blockquote{margin:0;padding:0;border:0} .quoteblock blockquote:before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)} .quoteblock blockquote>.paragraph:last-child p{margin-bottom:0} .quoteblock .attribution{margin-top:.5em;margin-right:.5ex;text-align:right} .quoteblock .quoteblock{margin-left:0;margin-right:0;padding:.5em 0;border-left:3px solid rgba(0,0,0,.6)} .quoteblock .quoteblock blockquote{padding:0 0 0 .75em} .quoteblock .quoteblock blockquote:before{display:none} .verseblock{margin:0 1em 1.25em 1em} .verseblock pre{font-family:"Open Sans","DejaVu Sans",sans;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility} .verseblock pre strong{font-weight:400} .verseblock .attribution{margin-top:1.25rem;margin-left:.5ex} .quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic} .quoteblock .attribution br,.verseblock .attribution br{display:none} .quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.05em;color:rgba(0,0,0,.6)} .quoteblock.abstract{margin:0 0 1.25em 0;display:block} .quoteblock.abstract blockquote,.quoteblock.abstract blockquote p{text-align:left;word-spacing:0} .quoteblock.abstract blockquote:before,.quoteblock.abstract blockquote p:first-of-type:before{display:none} table.tableblock{max-width:100%;border-collapse:separate} table.tableblock td>.paragraph:last-child p>p:last-child,table.tableblock th>p:last-child,table.tableblock td>p:last-child{margin-bottom:0} table.spread{width:100%} table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede} table.grid-all th.tableblock,table.grid-all td.tableblock{border-width:0 1px 1px 0} table.grid-all tfoot>tr>th.tableblock,table.grid-all tfoot>tr>td.tableblock{border-width:1px 1px 0 0} table.grid-cols th.tableblock,table.grid-cols td.tableblock{border-width:0 1px 0 0} table.grid-all *>tr>.tableblock:last-child,table.grid-cols *>tr>.tableblock:last-child{border-right-width:0} table.grid-rows th.tableblock,table.grid-rows td.tableblock{border-width:0 0 1px 0} table.grid-all tbody>tr:last-child>th.tableblock,table.grid-all tbody>tr:last-child>td.tableblock,table.grid-all thead:last-child>tr>th.tableblock,table.grid-rows tbody>tr:last-child>th.tableblock,table.grid-rows tbody>tr:last-child>td.tableblock,table.grid-rows thead:last-child>tr>th.tableblock{border-bottom-width:0} table.grid-rows tfoot>tr>th.tableblock,table.grid-rows tfoot>tr>td.tableblock{border-width:1px 0 0 0} table.frame-all{border-width:1px} table.frame-sides{border-width:0 1px} table.frame-topbot{border-width:1px 0} th.halign-left,td.halign-left{text-align:left} th.halign-right,td.halign-right{text-align:right} th.halign-center,td.halign-center{text-align:center} th.valign-top,td.valign-top{vertical-align:top} th.valign-bottom,td.valign-bottom{vertical-align:bottom} th.valign-middle,td.valign-middle{vertical-align:middle} table thead th,table tfoot th{font-weight:bold} tbody tr th{display:table-cell;line-height:1.6;background:#f7f8f7} tbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{color:rgba(0,0,0,.8);font-weight:bold} p.tableblock>code:only-child{background:none;padding:0} p.tableblock{font-size:1em} td>div.verse{white-space:pre} ol{margin-left:1.75em} ul li ol{margin-left:1.5em} dl dd{margin-left:1.125em} dl dd:last-child,dl dd:last-child>:last-child{margin-bottom:0} ol>li p,ul>li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em} ul.unstyled,ol.unnumbered,ul.checklist,ul.none{list-style-type:none} ul.unstyled,ol.unnumbered,ul.checklist{margin-left:.625em} ul.checklist li>p:first-child>.fa-square-o:first-child,ul.checklist li>p:first-child>.fa-check-square-o:first-child{width:1em;font-size:.85em} ul.checklist li>p:first-child>input[type="checkbox"]:first-child{width:1em;position:relative;top:1px} ul.inline{margin:0 auto .625em auto;margin-left:-1.375em;margin-right:0;padding:0;list-style:none;overflow:hidden} ul.inline>li{list-style:none;float:left;margin-left:1.375em;display:block} ul.inline>li>*{display:block} .unstyled dl dt{font-weight:400;font-style:normal} ol.arabic{list-style-type:decimal} ol.decimal{list-style-type:decimal-leading-zero} ol.loweralpha{list-style-type:lower-alpha} ol.upperalpha{list-style-type:upper-alpha} ol.lowerroman{list-style-type:lower-roman} ol.upperroman{list-style-type:upper-roman} ol.lowergreek{list-style-type:lower-greek} .hdlist>table,.colist>table{border:0;background:none} .hdlist>table>tbody>tr,.colist>table>tbody>tr{background:none} td.hdlist1{padding-right:.75em;font-weight:bold} td.hdlist1,td.hdlist2{vertical-align:top} .literalblock+.colist,.listingblock+.colist{margin-top:-.5em} .colist>table tr>td:first-of-type{padding:0 .75em;line-height:1} .colist>table tr>td:last-of-type{padding:.25em 0} .thumb,.th{line-height:0;display:inline-block;border:solid 4px #fff;-webkit-box-shadow:0 0 0 1px #ddd;box-shadow:0 0 0 1px #ddd} .imageblock.left,.imageblock[style*="float: left"]{margin:.25em .625em 1.25em 0} .imageblock.right,.imageblock[style*="float: right"]{margin:.25em 0 1.25em .625em} .imageblock>.title{margin-bottom:0} .imageblock.thumb,.imageblock.th{border-width:6px} .imageblock.thumb>.title,.imageblock.th>.title{padding:0 .125em} .image.left,.image.right{margin-top:.25em;margin-bottom:.25em;display:inline-block;line-height:0} .image.left{margin-right:.625em} .image.right{margin-left:.625em} a.image{text-decoration:none} span.footnote,span.footnoteref{vertical-align:super;font-size:.875em} span.footnote a,span.footnoteref a{text-decoration:none} span.footnote a:active,span.footnoteref a:active{text-decoration:underline} #footnotes{padding-top:.75em;padding-bottom:.75em;margin-bottom:.625em} #footnotes hr{width:20%;min-width:6.25em;margin:-.25em 0 .75em 0;border-width:1px 0 0 0} #footnotes .footnote{padding:0 .375em;line-height:1.3;font-size:.875em;margin-left:1.2em;text-indent:-1.2em;margin-bottom:.2em} #footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none} #footnotes .footnote:last-of-type{margin-bottom:0} #content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0} .gist .file-data>table{border:0;background:#fff;width:100%;margin-bottom:0} .gist .file-data>table td.line-data{width:99%} div.unbreakable{page-break-inside:avoid} .big{font-size:larger} .small{font-size:smaller} .underline{text-decoration:underline} .overline{text-decoration:overline} .line-through{text-decoration:line-through} .aqua{color:#00bfbf} .aqua-background{background-color:#00fafa} .black{color:#000} .black-background{background-color:#000} .blue{color:#0000bf} .blue-background{background-color:#0000fa} .fuchsia{color:#bf00bf} .fuchsia-background{background-color:#fa00fa} .gray{color:#606060} .gray-background{background-color:#7d7d7d} .green{color:#006000} .green-background{background-color:#007d00} .lime{color:#00bf00} .lime-background{background-color:#00fa00} .maroon{color:#600000} .maroon-background{background-color:#7d0000} .navy{color:#000060} .navy-background{background-color:#00007d} .olive{color:#606000} .olive-background{background-color:#7d7d00} .purple{color:#600060} .purple-background{background-color:#7d007d} .red{color:#bf0000} .red-background{background-color:#fa0000} .silver{color:#909090} .silver-background{background-color:#bcbcbc} .teal{color:#006060} .teal-background{background-color:#007d7d} .white{color:#bfbfbf} .white-background{background-color:#fafafa} .yellow{color:#bfbf00} .yellow-background{background-color:#fafa00} span.icon>.fa{cursor:default} .admonitionblock td.icon [class^="fa icon-"]{font-size:2.5em;text-shadow:1px 1px 2px rgba(0,0,0,.5);cursor:default} .admonitionblock td.icon .icon-note:before{content:"\f05a";color:#19407c} .admonitionblock td.icon .icon-tip:before{content:"\f0eb";text-shadow:1px 1px 2px rgba(155,155,0,.8);color:#111} .admonitionblock td.icon .icon-warning:before{content:"\f071";color:#bf6900} .admonitionblock td.icon .icon-caution:before{content:"\f06d";color:#bf3400} .admonitionblock td.icon .icon-important:before{content:"\f06a";color:#bf0000} .conum[data-value]{display:inline-block;color:#fff!important;background-color:rgba(0,0,0,.8);-webkit-border-radius:100px;border-radius:100px;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold} .conum[data-value] *{color:#fff!important} .conum[data-value]+b{display:none} .conum[data-value]:after{content:attr(data-value)} pre .conum[data-value]{position:relative;top:-.125em} b.conum *{color:inherit!important} .conum:not([data-value]):empty{display:none} h1,h2{letter-spacing:-.01em} dt,th.tableblock,td.content{text-rendering:optimizeLegibility} p,td.content{letter-spacing:-.01em} p strong,td.content strong{letter-spacing:-.005em} p,blockquote,dt,td.content{font-size:1.0625rem} p{margin-bottom:1.25rem} .sidebarblock p,.sidebarblock dt,.sidebarblock td.content,p.tableblock{font-size:1em} .exampleblock>.content{background-color:#fffef7;border-color:#e0e0dc;-webkit-box-shadow:0 1px 4px #e0e0dc;box-shadow:0 1px 4px #e0e0dc} .print-only{display:none!important} @media print{@page{margin:1.25cm .75cm} *{-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important} a{color:inherit!important;text-decoration:underline!important} a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none!important} a[href^="http:"]:not(.bare):after,a[href^="https:"]:not(.bare):after{content:"(" attr(href) ")";display:inline-block;font-size:.875em;padding-left:.25em} abbr[title]:after{content:" (" attr(title) ")"} pre,blockquote,tr,img{page-break-inside:avoid} thead{display:table-header-group} img{max-width:100%!important} p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3} h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid} #toc,.sidebarblock,.exampleblock>.content{background:none!important} #toc{border-bottom:1px solid #ddddd8!important;padding-bottom:0!important} .sect1{padding-bottom:0!important} .sect1+.sect1{border:0!important} #header>h1:first-child{margin-top:1.25rem} body.book #header{text-align:center} body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em 0} body.book #header .details{border:0!important;display:block;padding:0!important} body.book #header .details span:first-child{margin-left:0!important} body.book #header .details br{display:block} body.book #header .details br+span:before{content:none!important} body.book #toc{border:0!important;text-align:left!important;padding:0!important;margin:0!important} body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-break-before:always} .listingblock code[data-lang]:before{display:block} #footer{background:none!important;padding:0 .9375em} #footer-text{color:rgba(0,0,0,.6)!important;font-size:.9em} .hide-on-print{display:none!important} .print-only{display:block!important} .hide-for-print{display:none!important} .show-for-print{display:inherit!important}} </style> </head> <body class="manpage"> <div id="header"> <h1>git-blame(1) Manual Page</h1> <h2>NAME</h2> <div class="sectionbody"> <p>git-blame - Show what revision and author last modified each line of a file</p> </div> </div> <div id="content"> <div class="sect1"> <h2 id="_synopsis">SYNOPSIS</h2> <div class="sectionbody"> <div class="verseblock"> <pre class="content"><em>git blame</em> [-c] [-b] [-l] [--root] [-t] [-f] [-n] [-s] [-e] [-p] [-w] [--incremental] [-L &lt;range&gt;] [-S &lt;revs-file&gt;] [-M] [-C] [-C] [-C] [--since=&lt;date&gt;] [--abbrev=&lt;n&gt;] [&lt;rev&gt; | --contents &lt;file&gt; | --reverse &lt;rev&gt;] [--] &lt;file&gt;</pre> </div> </div> </div> <div class="sect1"> <h2 id="_description">DESCRIPTION</h2> <div class="sectionbody"> <div class="paragraph"> <p>Annotates each line in the given file with information from the revision which last modified the line. Optionally, start annotating from the given revision.</p> </div> <div class="paragraph"> <p>When specified one or more times, <code>-L</code> restricts annotation to the requested lines.</p> </div> <div class="paragraph"> <p>The origin of lines is automatically followed across whole-file renames (currently there is no option to turn the rename-following off). To follow lines moved from one file to another, or to follow lines that were copied and pasted from another file, etc., see the <code>-C</code> and <code>-M</code> options.</p> </div> <div class="paragraph"> <p>The report does not tell you anything about lines which have been deleted or replaced; you need to use a tool such as <em>git diff</em> or the "pickaxe" interface briefly mentioned in the following paragraph.</p> </div> <div class="paragraph"> <p>Apart from supporting file annotation, Git also supports searching the development history for when a code snippet occurred in a change. This makes it possible to track when a code snippet was added to a file, moved or copied between files, and eventually deleted or replaced. It works by searching for a text string in the diff. A small example of the pickaxe interface that searches for <code>blame_usage</code>:</p> </div> <div class="listingblock"> <div class="content"> <pre>$ git log --pretty=oneline -S'blame_usage' 5040f17eba15504bad66b14a645bddd9b015ebb7 blame -S &lt;ancestry-file&gt; ea4c7f9bf69e781dd0cd88d2bccb2bf5cc15c9a7 git-blame: Make the output</pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_options">OPTIONS</h2> <div class="sectionbody"> <div class="dlist"> <dl> <dt class="hdlist1">-b</dt> <dd> <p>Show blank SHA-1 for boundary commits. This can also be controlled via the <code>blame.blankboundary</code> config option.</p> </dd> <dt class="hdlist1">--root</dt> <dd> <p>Do not treat root commits as boundaries. This can also be controlled via the <code>blame.showRoot</code> config option.</p> </dd> <dt class="hdlist1">--show-stats</dt> <dd> <p>Include additional statistics at the end of blame output.</p> </dd> <dt class="hdlist1">-L &lt;start&gt;,&lt;end&gt;</dt> <dt class="hdlist1">-L :&lt;funcname&gt;</dt> <dd> <p>Annotate only the given line range. May be specified multiple times. Overlapping ranges are allowed.</p> <div class="paragraph"> <p>&lt;start&gt; and &lt;end&gt; are optional. &#8220;-L &lt;start&gt;&#8221; or &#8220;-L &lt;start&gt;,&#8221; spans from &lt;start&gt; to end of file. &#8220;-L ,&lt;end&gt;&#8221; spans from start of file to &lt;end&gt;.</p> </div> <div class="paragraph"> <p>&lt;start&gt; and &lt;end&gt; can take one of these forms:</p> </div> <div class="ulist"> <ul> <li> <p>number</p> <div class="paragraph"> <p>If &lt;start&gt; or &lt;end&gt; is a number, it specifies an absolute line number (lines count from 1).</p> </div> </li> <li> <p>/regex/</p> <div class="paragraph"> <p>This form will use the first line matching the given POSIX regex. If &lt;start&gt; is a regex, it will search from the end of the previous <code>-L</code> range, if any, otherwise from the start of file. If &lt;start&gt; is &#8220;^/regex/&#8221;, it will search from the start of file. If &lt;end&gt; is a regex, it will search starting at the line given by &lt;start&gt;.</p> </div> </li> <li> <p>+offset or -offset</p> <div class="paragraph"> <p>This is only valid for &lt;end&gt; and will specify a number of lines before or after the line given by &lt;start&gt;.</p> </div> </li> </ul> </div> <div class="paragraph"> <p>If &#8220;:&lt;funcname&gt;&#8221; is given in place of &lt;start&gt; and &lt;end&gt;, it is a regular expression that denotes the range from the first funcname line that matches &lt;funcname&gt;, up to the next funcname line. &#8220;:&lt;funcname&gt;&#8221; searches from the end of the previous <code>-L</code> range, if any, otherwise from the start of file. &#8220;^:&lt;funcname&gt;&#8221; searches from the start of file.</p> </div> </dd> <dt class="hdlist1">-l</dt> <dd> <p>Show long rev (Default: off).</p> </dd> <dt class="hdlist1">-t</dt> <dd> <p>Show raw timestamp (Default: off).</p> </dd> <dt class="hdlist1">-S &lt;revs-file&gt;</dt> <dd> <p>Use revisions from revs-file instead of calling linkgit:git-rev-list[1].</p> </dd> <dt class="hdlist1">--reverse</dt> <dd> <p>Walk history forward instead of backward. Instead of showing the revision in which a line appeared, this shows the last revision in which a line has existed. This requires a range of revision like START..END where the path to blame exists in START.</p> </dd> <dt class="hdlist1">-p</dt> <dt class="hdlist1">--porcelain</dt> <dd> <p>Show in a format designed for machine consumption.</p> </dd> <dt class="hdlist1">--line-porcelain</dt> <dd> <p>Show the porcelain format, but output commit information for each line, not just the first time a commit is referenced. Implies --porcelain.</p> </dd> <dt class="hdlist1">--incremental</dt> <dd> <p>Show the result incrementally in a format designed for machine consumption.</p> </dd> <dt class="hdlist1">--encoding=&lt;encoding&gt;</dt> <dd> <p>Specifies the encoding used to output author names and commit summaries. Setting it to <code>none</code> makes blame output unconverted data. For more information see the discussion about encoding in the linkgit:git-log[1] manual page.</p> </dd> <dt class="hdlist1">--contents &lt;file&gt;</dt> <dd> <p>When &lt;rev&gt; is not specified, the command annotates the changes starting backwards from the working tree copy. This flag makes the command pretend as if the working tree copy has the contents of the named file (specify <code>-</code> to make the command read from the standard input).</p> </dd> <dt class="hdlist1">--date &lt;format&gt;</dt> <dd> <p>The value is one of the following alternatives: {relative,local,default,iso,rfc,short}. If --date is not provided, the value of the blame.date config variable is used. If the blame.date config variable is also not set, the iso format is used. For more information, See the discussion of the --date option at linkgit:git-log[1].</p> </dd> <dt class="hdlist1">-M|&lt;num&gt;|</dt> <dd> <p>Detect moved or copied lines within a file. When a commit moves or copies a block of lines (e.g. the original file has A and then B, and the commit changes it to B and then A), the traditional <em>blame</em> algorithm notices only half of the movement and typically blames the lines that were moved up (i.e. B) to the parent and assigns blame to the lines that were moved down (i.e. A) to the child commit. With this option, both groups of lines are blamed on the parent by running extra passes of inspection.</p> <div class="paragraph"> <p>&lt;num&gt; is optional but it is the lower bound on the number of alphanumeric characters that Git must detect as moving/copying within a file for it to associate those lines with the parent commit. The default value is 20.</p> </div> </dd> <dt class="hdlist1">-C|&lt;num&gt;|</dt> <dd> <p>In addition to <code>-M</code>, detect lines moved or copied from other files that were modified in the same commit. This is useful when you reorganize your program and move code around across files. When this option is given twice, the command additionally looks for copies from other files in the commit that creates the file. When this option is given three times, the command additionally looks for copies from other files in any commit.</p> <div class="paragraph"> <p>&lt;num&gt; is optional but it is the lower bound on the number of alphanumeric characters that Git must detect as moving/copying between files for it to associate those lines with the parent commit. And the default value is 40. If there are more than one <code>-C</code> options given, the &lt;num&gt; argument of the last <code>-C</code> will take effect.</p> </div> </dd> <dt class="hdlist1">-h</dt> <dd> <p>Show help message.</p> </dd> <dt class="hdlist1">-c</dt> <dd> <p>Use the same output mode as linkgit:git-annotate[1] (Default: off).</p> </dd> <dt class="hdlist1">--score-debug</dt> <dd> <p>Include debugging information related to the movement of lines between files (see <code>-C</code>) and lines moved within a file (see <code>-M</code>). The first number listed is the score. This is the number of alphanumeric characters detected as having been moved between or within files. This must be above a certain threshold for <em>git blame</em> to consider those lines of code to have been moved.</p> </dd> <dt class="hdlist1">-f</dt> <dt class="hdlist1">--show-name</dt> <dd> <p>Show the filename in the original commit. By default the filename is shown if there is any line that came from a file with a different name, due to rename detection.</p> </dd> <dt class="hdlist1">-n</dt> <dt class="hdlist1">--show-number</dt> <dd> <p>Show the line number in the original commit (Default: off).</p> </dd> <dt class="hdlist1">-s</dt> <dd> <p>Suppress the author name and timestamp from the output.</p> </dd> <dt class="hdlist1">-e</dt> <dt class="hdlist1">--show-email</dt> <dd> <p>Show the author email instead of author name (Default: off). This can also be controlled via the <code>blame.showEmail</code> config option.</p> </dd> <dt class="hdlist1">-w</dt> <dd> <p>Ignore whitespace when comparing the parent&#8217;s version and the child&#8217;s to find where the lines came from.</p> </dd> <dt class="hdlist1">--abbrev=&lt;n&gt;</dt> <dd> <p>Instead of using the default 7+1 hexadecimal digits as the abbreviated object name, use &lt;n&gt;+1 digits. Note that 1 column is used for a caret to mark the boundary commit.</p> </dd> </dl> </div> </div> </div> <div class="sect1"> <h2 id="_the_porcelain_format">THE PORCELAIN FORMAT</h2> <div class="sectionbody"> <div class="paragraph"> <p>In this format, each line is output after a header; the header at the minimum has the first line which has:</p> </div> <div class="ulist"> <ul> <li> <p>40-byte SHA-1 of the commit the line is attributed to;</p> </li> <li> <p>the line number of the line in the original file;</p> </li> <li> <p>the line number of the line in the final file;</p> </li> <li> <p>on a line that starts a group of lines from a different commit than the previous one, the number of lines in this group. On subsequent lines this field is absent.</p> </li> </ul> </div> <div class="paragraph"> <p>This header line is followed by the following information at least once for each commit:</p> </div> <div class="ulist"> <ul> <li> <p>the author name ("author"), email ("author-mail"), time ("author-time"), and time zone ("author-tz"); similarly for committer.</p> </li> <li> <p>the filename in the commit that the line is attributed to.</p> </li> <li> <p>the first line of the commit log message ("summary").</p> </li> </ul> </div> <div class="paragraph"> <p>The contents of the actual line is output after the above header, prefixed by a TAB. This is to allow adding more header elements later.</p> </div> <div class="paragraph"> <p>The porcelain format generally suppresses commit information that has already been seen. For example, two lines that are blamed to the same commit will both be shown, but the details for that commit will be shown only once. This is more efficient, but may require more state be kept by the reader. The <code>--line-porcelain</code> option can be used to output full commit information for each line, allowing simpler (but less efficient) usage like:</p> </div> <div class="literalblock"> <div class="content"> <pre># count the number of lines attributed to each author git blame --line-porcelain file | sed -n 's/^author //p' | sort | uniq -c | sort -rn</pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_specifying_ranges">SPECIFYING RANGES</h2> <div class="sectionbody"> <div class="paragraph"> <p>Unlike <em>git blame</em> and <em>git annotate</em> in older versions of git, the extent of the annotation can be limited to both line ranges and revision ranges. The <code>-L</code> option, which limits annotation to a range of lines, may be specified multiple times.</p> </div> <div class="paragraph"> <p>When you are interested in finding the origin for lines 40-60 for file <code>foo</code>, you can use the <code>-L</code> option like so (they mean the same thing&#8201;&#8212;&#8201;both ask for 21 lines starting at line 40):</p> </div> <div class="literalblock"> <div class="content"> <pre>git blame -L 40,60 foo git blame -L 40,+21 foo</pre> </div> </div> <div class="paragraph"> <p>Also you can use a regular expression to specify the line range:</p> </div> <div class="literalblock"> <div class="content"> <pre>git blame -L '/^sub hello {/,/^}$/' foo</pre> </div> </div> <div class="paragraph"> <p>which limits the annotation to the body of the <code>hello</code> subroutine.</p> </div> <div class="paragraph"> <p>When you are not interested in changes older than version v2.6.18, or changes older than 3 weeks, you can use revision range specifiers similar to <em>git rev-list</em>:</p> </div> <div class="literalblock"> <div class="content"> <pre>git blame v2.6.18.. -- foo git blame --since=3.weeks -- foo</pre> </div> </div> <div class="paragraph"> <p>When revision range specifiers are used to limit the annotation, lines that have not changed since the range boundary (either the commit v2.6.18 or the most recent commit that is more than 3 weeks old in the above example) are blamed for that range boundary commit.</p> </div> <div class="paragraph"> <p>A particularly useful way is to see if an added file has lines created by copy-and-paste from existing files. Sometimes this indicates that the developer was being sloppy and did not refactor the code properly. You can first find the commit that introduced the file with:</p> </div> <div class="literalblock"> <div class="content"> <pre>git log --diff-filter=A --pretty=short -- foo</pre> </div> </div> <div class="paragraph"> <p>and then annotate the change between the commit and its parents, using <code>commit^!</code> notation:</p> </div> <div class="literalblock"> <div class="content"> <pre>git blame -C -C -f $commit^! -- foo</pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_incremental_output">INCREMENTAL OUTPUT</h2> <div class="sectionbody"> <div class="paragraph"> <p>When called with <code>--incremental</code> option, the command outputs the result as it is built. The output generally will talk about lines touched by more recent commits first (i.e. the lines will be annotated out of order) and is meant to be used by interactive viewers.</p> </div> <div class="paragraph"> <p>The output format is similar to the Porcelain format, but it does not contain the actual lines from the file that is being annotated.</p> </div> <div class="olist arabic"> <ol class="arabic"> <li> <p>Each blame entry always starts with a line of:</p> <div class="literalblock"> <div class="content"> <pre>&lt;40-byte hex sha1&gt; &lt;sourceline&gt; &lt;resultline&gt; &lt;num_lines&gt;</pre> </div> </div> <div class="paragraph"> <p>Line numbers count from 1.</p> </div> </li> <li> <p>The first time that a commit shows up in the stream, it has various other information about it printed out with a one-word tag at the beginning of each line describing the extra commit information (author, email, committer, dates, summary, etc.).</p> </li> <li> <p>Unlike the Porcelain format, the filename information is always given and terminates the entry:</p> <div class="literalblock"> <div class="content"> <pre>"filename" &lt;whitespace-quoted-filename-goes-here&gt;</pre> </div> </div> <div class="paragraph"> <p>and thus it is really quite easy to parse for some line- and word-oriented parser (which should be quite natural for most scripting languages).</p> </div> <div class="admonitionblock note"> <table> <tr> <td class="icon"> <div class="title">Note</div> </td> <td class="content"> For people who do parsing: to make it more robust, just ignore any lines between the first and last one ("&lt;sha1&gt;" and "filename" lines) where you do not recognize the tag words (or care about that particular one) at the beginning of the "extended information" lines. That way, if there is ever added information (like the commit encoding or extended commit commentary), a blame viewer will not care. </td> </tr> </table> </div> </li> </ol> </div> </div> </div> <div class="sect1"> <h2 id="_mapping_authors">MAPPING AUTHORS</h2> <div class="sectionbody"> <div class="paragraph"> <p>If the file <code>.mailmap</code> exists at the toplevel of the repository, or at the location pointed to by the mailmap.file or mailmap.blob configuration options, it is used to map author and committer names and email addresses to canonical real names and email addresses.</p> </div> <div class="paragraph"> <p>In the simple form, each line in the file consists of the canonical real name of an author, whitespace, and an email address used in the commit (enclosed by <em>&lt;</em> and <em>&gt;</em>) to map to the name. For example:</p> </div> <div class="openblock"> <div class="content"> <div class="literalblock"> <div class="content"> <pre>Proper Name &lt;commit@email.xx&gt;</pre> </div> </div> </div> </div> <div class="paragraph"> <p>The more complex forms are:</p> </div> <div class="openblock"> <div class="content"> <div class="literalblock"> <div class="content"> <pre>&lt;proper@email.xx&gt; &lt;commit@email.xx&gt;</pre> </div> </div> </div> </div> <div class="paragraph"> <p>which allows mailmap to replace only the email part of a commit, and:</p> </div> <div class="openblock"> <div class="content"> <div class="literalblock"> <div class="content"> <pre>Proper Name &lt;proper@email.xx&gt; &lt;commit@email.xx&gt;</pre> </div> </div> </div> </div> <div class="paragraph"> <p>which allows mailmap to replace both the name and the email of a commit matching the specified commit email address, and:</p> </div> <div class="openblock"> <div class="content"> <div class="literalblock"> <div class="content"> <pre>Proper Name &lt;proper@email.xx&gt; Commit Name &lt;commit@email.xx&gt;</pre> </div> </div> </div> </div> <div class="paragraph"> <p>which allows mailmap to replace both the name and the email of a commit matching both the specified commit name and email address.</p> </div> <div class="paragraph"> <p>Example 1: Your history contains commits by two authors, Jane and Joe, whose names appear in the repository under several forms:</p> </div> <div class="listingblock"> <div class="content"> <pre>Joe Developer &lt;joe@example.com&gt; Joe R. Developer &lt;joe@example.com&gt; Jane Doe &lt;jane@example.com&gt; Jane Doe &lt;jane@laptop.(none)&gt; Jane D. &lt;jane@desktop.(none)&gt;</pre> </div> </div> <div class="paragraph"> <p>Now suppose that Joe wants his middle name initial used, and Jane prefers her family name fully spelled out. A proper <code>.mailmap</code> file would look like:</p> </div> <div class="listingblock"> <div class="content"> <pre>Jane Doe &lt;jane@desktop.(none)&gt; Joe R. Developer &lt;joe@example.com&gt;</pre> </div> </div> <div class="paragraph"> <p>Note how there is no need for an entry for <code>&lt;jane@laptop.(none)&gt;</code>, because the real name of that author is already correct.</p> </div> <div class="paragraph"> <p>Example 2: Your repository contains commits from the following authors:</p> </div> <div class="listingblock"> <div class="content"> <pre>nick1 &lt;bugs@company.xx&gt; nick2 &lt;bugs@company.xx&gt; nick2 &lt;nick2@company.xx&gt; santa &lt;me@company.xx&gt; claus &lt;me@company.xx&gt; CTO &lt;cto@coompany.xx&gt;</pre> </div> </div> <div class="paragraph"> <p>Then you might want a <code>.mailmap</code> file that looks like:</p> </div> <div class="listingblock"> <div class="content"> <pre>&lt;cto@company.xx&gt; &lt;cto@coompany.xx&gt; Some Dude &lt;some@dude.xx&gt; nick1 &lt;bugs@company.xx&gt; Other Author &lt;other@author.xx&gt; nick2 &lt;bugs@company.xx&gt; Other Author &lt;other@author.xx&gt; &lt;nick2@company.xx&gt; Santa Claus &lt;santa.claus@northpole.xx&gt; &lt;me@company.xx&gt;</pre> </div> </div> <div class="paragraph"> <p>Use hash <em>#</em> for comments that are either on their own line, or after the email address.</p> </div> </div> </div> <div class="sect1"> <h2 id="_see_also">SEE ALSO</h2> <div class="sectionbody"> <div class="paragraph"> <p>linkgit:git-annotate[1]</p> </div> </div> </div> <div class="sect1"> <h2 id="_git">GIT</h2> <div class="sectionbody"> <div class="paragraph"> <p>Part of the linkgit:git[1] suite</p> </div> </div> </div> </div> <div id="footer"> <div id="footer-text"> Last updated 2015-08-30 17:24:33 Coordinated Universal Time </div> </div> </body> </html>
jlord/git-it-electron
assets/PortableGit/mingw32/share/doc/git-doc/git-blame.html
HTML
bsd-2-clause
52,500
<!doctype html> <html> <head> <link rel="import" href="../../polymer.html"> </head> <body> <dom-module id="my-element"> <template> <style> :host { display: block; } .parent { border: 1px solid red; justify-content: space-between; width: 300px; display: flex; } .child { border: 1px solid green; width: 100px; } </style> <div class='parent'> <div class='child'>Child1</div> <template is='dom-if' if='1'> <div class='child'>Child2</div> </template> </div> </template> <!-- Uncomment for class syntax --> <script> class MyElement extends Polymer.Element { static get is() { return 'my-element'; } static get properties() { return { prop: { type: String } } } constructor() { super(); this.prop = 'my-element' } } customElements.define(MyElement.is, MyElement); </script> </dom-module> <my-element></my-element> </body> </html>
JeremybellEU/polymer
test/smoke/dom-if.html
HTML
bsd-3-clause
1,199
<!-- /* ** Copyright (c) 2016 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the ** "Materials"), to deal in the Materials without restriction, including ** without limitation the rights to use, copy, modify, merge, publish, ** distribute, sublicense, and/or sell copies of the Materials, and to ** permit persons to whom the Materials are furnished to do so, subject to ** the following conditions: ** ** The above copyright notice and this permission notice shall be included ** in all copies or substantial portions of the Materials. ** ** THE MATERIALS ARE 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 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. */ --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Unary minus operator on int or uint variables in a dynamic loop in vertex shader should work</title> <link rel="stylesheet" href="../../resources/js-test-style.css"/> <script src="../../js/js-test-pre.js"></script> <script src="../../js/webgl-test-utils.js"></script> </head> <body> <canvas id="canvas" style="border: none;" width="1024" height="128"></canvas> <div id="description"></div> <div id="console"></div> <script id="shader-vs-int" type="x-shader/x-vertex">#version 300 es in highp vec4 pos; uniform int u_one; uniform int u_two; uniform int u_three; out mediump vec4 v_color; void main() { int array[3]; array[0] = u_one; // array[0] should be 1 array[1] = -u_two; // array[1] should be -2 array[2] = u_three; // array[2] should be 3 int result = 0; for (int i = 0; i < u_three; i++) { result += array[i]; } v_color = (result == 2) ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1); gl_Position = pos; } </script> <script id="shader-vs-uint" type="x-shader/x-vertex">#version 300 es in highp vec4 pos; uniform uint u_one; uniform uint u_two; uniform uint u_three; out mediump vec4 v_color; void main() { uint array[3]; array[0] = u_one; // array[0] should be 1u array[1] = -u_two; // array[1] should be -2u array[2] = u_three; // array[2] should be 3u uint result = 0u; for (uint i = 0u; i < u_three; i++) { result += array[i]; } v_color = (result == 2u) ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1); gl_Position = pos; } </script> <script id="shader-vs-int-multiple-brackets" type="x-shader/x-vertex">#version 300 es in highp vec4 pos; uniform int u_one; uniform int u_two; uniform int u_three; out mediump vec4 v_color; void main() { int array[3]; array[0] = u_one; // array[0] should be 1 array[1] = -(-(-u_two + 1) + 1); // array[1] should be -2 array[2] = u_three; // array[2] should be 3 int result = 0; for (int i = 0; i < u_three; i++) { result += array[i]; } v_color = (result == 2) ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1); gl_Position = pos; } </script> <script id="shader-vs-uint-multiple-brackets" type="x-shader/x-vertex">#version 300 es in highp vec4 pos; uniform uint u_one; uniform uint u_two; uniform uint u_three; out mediump vec4 v_color; void main() { uint array[3]; array[0] = u_one; // array[0] should be 1u array[1] = -(-(-u_two + 1u) + 1u); // array[1] should be -2u array[2] = u_three; // array[2] should be 3u uint result = 0u; for (uint i = 0u; i < u_three; i++) { result += array[i]; } v_color = (result == 2u) ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1); gl_Position = pos; } </script> <script id="shader-vs-int-implicit-unary-minus" type="x-shader/x-vertex">#version 300 es in highp vec4 pos; uniform int u_one; uniform int u_two; uniform int u_three; out mediump vec4 v_color; void main() { int array[3]; array[0] = u_one; // array[0] should be 1 array[1] = 1 - u_two; array[2] = u_three; // array[2] should be 3 int result = 0; array[1] -= 1; // array[1] should be -u_two == -2 for (int i = 0; i < u_three; i++) { result += array[i]; } v_color = (result == 2) ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1); gl_Position = pos; } </script> <script id="shader-vs-uint-implicit-unary-minus" type="x-shader/x-vertex">#version 300 es in highp vec4 pos; uniform uint u_one; uniform uint u_two; uniform uint u_three; out mediump vec4 v_color; void main() { uint array[3]; array[0] = u_one; // array[0] should be 1u array[1] = 1u - u_two; array[2] = u_three; // array[2] should be 3u uint result = 0u; array[1] -= 1u; // array[1] should be -u_two == -2u for (uint i = 0u; i < u_three; i++) { result += array[i]; } v_color = (result == 2u) ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1); gl_Position = pos; } </script> <script id="shader-fs" type="x-shader/x-fragment">#version 300 es in mediump vec4 v_color; out mediump vec4 o_color; void main() { o_color = v_color; } </script> <script> "use strict"; function test() { description(); debug("This test exposes an Intel driver bug on Windows."); debug(""); var wtu = WebGLTestUtils; var gl = wtu.create3DContext("canvas", undefined, 2); if (!gl) { testFailed("WebGL 2 context does not exist"); return; } var testNum = 0; var border = 10; // border between test squares for visibility var squareSize = 128; var expectedColor = [0, 255, 0, 255]; // green function subTest_int(message, VertexShader) { debug(message); var startX = (squareSize + border) * testNum; var program = wtu.setupProgram( gl, [VertexShader, "shader-fs"], ["pos"], null, true); gl.viewport(startX, 0, squareSize, squareSize); var one = gl.getUniformLocation(program, "u_one"); var two = gl.getUniformLocation(program, "u_two"); var three = gl.getUniformLocation(program, "u_three"); gl.uniform1i(one, 1); gl.uniform1i(two, 2); gl.uniform1i(three, 3); wtu.drawUnitQuad(gl); wtu.checkCanvasRect( gl, startX, 0, squareSize, squareSize, expectedColor, "square should be green", 1); debug(""); testNum++; } function subTest_uint(message, VertexShader) { debug(message); var startX = (squareSize + border) * testNum; var program = wtu.setupProgram( gl, [VertexShader, "shader-fs"], ["pos"], null, true); gl.viewport(startX, 0, squareSize, squareSize); var one = gl.getUniformLocation(program, "u_one"); var two = gl.getUniformLocation(program, "u_two"); var three = gl.getUniformLocation(program, "u_three"); gl.uniform1ui(one, 1); gl.uniform1ui(two, 2); gl.uniform1ui(three, 3); wtu.drawUnitQuad(gl); wtu.checkCanvasRect( gl, startX, 0, squareSize, squareSize, expectedColor, "square should be green", 1); debug(""); testNum++; } if (!gl) { testFailed("context does not exist"); } else { wtu.setupUnitQuad(gl); subTest_int("Test unary minus operator on int.", "shader-vs-int"); subTest_uint("Test unary minus operator on unsigned int.", "shader-vs-uint"); subTest_int("Test unary minus operator on int with multiple brackets.", "shader-vs-int-multiple-brackets"); subTest_uint("Test unary minus operator on unsigned int with multiple brackets.", "shader-vs-uint-multiple-brackets"); subTest_int("Test implicit unary minus operator on int.", "shader-vs-int-implicit-unary-minus"); subTest_uint("Test implicit unary minus operator on unsigned int.", "shader-vs-uint-implicit-unary-minus"); } } test(); var successfullyParsed = true; finishTest(); </script> </body> </html>
endlessm/chromium-browser
third_party/webgl/src/conformance-suites/2.0.0/conformance2/glsl3/unary-minus-operator-in-dynamic-loop.html
HTML
bsd-3-clause
7,786
<!DOCTYPE html> <title>Canvas tests - 2d.line.join.*</title> <link rel="stylesheet" href="../frame.css"> <p><a href="index.html">[index]</a> <h1><a href="index.2d.html">2d</a>.<a href="index.2d.line.html">line</a>.join.*</h1> <p> <iframe width="200" height="220" src="framed.2d.line.join.bevel.html">(iframe fallback)</iframe><!-- --><iframe width="200" height="220" src="framed.2d.line.join.round.html">(iframe fallback)</iframe><!-- --><iframe width="200" height="220" src="framed.2d.line.join.miter.html">(iframe fallback)</iframe><!-- --><iframe width="200" height="220" src="framed.2d.line.join.open.html">(iframe fallback)</iframe><!-- --><iframe width="200" height="220" src="framed.2d.line.join.closed.html">(iframe fallback)</iframe><!-- --><iframe width="200" height="220" src="framed.2d.line.join.parallel.html">(iframe fallback)</iframe><!-- --><iframe width="200" height="220" src="framed.2d.line.join.valid.html">(iframe fallback)</iframe><!-- --><iframe width="200" height="220" src="framed.2d.line.join.invalid.html">(iframe fallback)</iframe><!-- -->
kangax/webgl-2d
test/philip.html5.org/tests/index.2d.line.join.html
HTML
mit
1,067
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - materials - cube reflection [cars]</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <style> body { background:#000; color:#fff; padding:0; margin:0; overflow:hidden; font-family:georgia; text-align:center; } a { color:skyblue; text-decoration:none } #info { position: absolute; width: 100%; } </style> </head> <body> <script src="../build/three.js"></script> <script src="js/controls/OrbitControls.js"></script> <script src="js/libs/dat.gui.min.js"></script> <div id="info"> <a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> - webgl environment mapping example<br/> Equirectangular Map by <a href="http://gl.ict.usc.edu/Data/HighResProbes/">University of Southern California</a><br/> Spherical Map by <a href="http://www.pauldebevec.com/Probes/">Paul Debevec</a> </div> <script> var controls, camera, scene, renderer; var cameraCube, sceneCube; var textureEquirec, textureCube, textureSphere; var cubeMesh, sphereMesh; var sphereMaterial; var refract; init(); animate(); function init() { // CAMERAS camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 1, 100000 ); camera.position.set( 0, 0, 1000 ); cameraCube = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 1, 100000 ); controls = new THREE.OrbitControls( camera ); controls.minDistance = 500; controls.maxDistance = 2500; // SCENE scene = new THREE.Scene(); sceneCube = new THREE.Scene(); // Lights var ambient = new THREE.AmbientLight( 0xffffff ); scene.add( ambient ); // Textures var r = "textures/cube/Bridge2/"; var urls = [ r + "posx.jpg", r + "negx.jpg", r + "posy.jpg", r + "negy.jpg", r + "posz.jpg", r + "negz.jpg" ]; textureCube = new THREE.CubeTextureLoader().load( urls ); textureCube.format = THREE.RGBFormat; textureCube.mapping = THREE.CubeReflectionMapping; var textureLoader = new THREE.TextureLoader(); textureEquirec = textureLoader.load( "textures/2294472375_24a3b8ef46_o.jpg" ); textureEquirec.mapping = THREE.EquirectangularReflectionMapping; textureEquirec.magFilter = THREE.LinearFilter; textureEquirec.minFilter = THREE.LinearMipMapLinearFilter; textureSphere = textureLoader.load( "textures/metal.jpg" ); textureSphere.mapping = THREE.SphericalReflectionMapping; // Materials var equirectShader = THREE.ShaderLib[ "equirect" ]; var equirectMaterial = new THREE.ShaderMaterial( { fragmentShader: equirectShader.fragmentShader, vertexShader: equirectShader.vertexShader, uniforms: equirectShader.uniforms, depthWrite: false, side: THREE.BackSide } ); equirectMaterial.uniforms[ "tEquirect" ].value = textureEquirec; var cubeShader = THREE.ShaderLib[ "cube" ]; var cubeMaterial = new THREE.ShaderMaterial( { fragmentShader: cubeShader.fragmentShader, vertexShader: cubeShader.vertexShader, uniforms: cubeShader.uniforms, depthWrite: false, side: THREE.BackSide } ); cubeMaterial.uniforms[ "tCube" ].value = textureCube; // Skybox cubeMesh = new THREE.Mesh( new THREE.BoxBufferGeometry( 100, 100, 100 ), cubeMaterial ); sceneCube.add( cubeMesh ); // var geometry = new THREE.SphereBufferGeometry( 400.0, 48, 24 ); sphereMaterial = new THREE.MeshLambertMaterial( { envMap: textureCube } ); sphereMesh = new THREE.Mesh( geometry, sphereMaterial ); scene.add( sphereMesh ); // renderer = new THREE.WebGLRenderer(); renderer.autoClear = false; renderer.setPixelRatio( window.devicePixelRatio ); renderer.setSize( window.innerWidth, window.innerHeight ); renderer.setFaceCulling( THREE.CullFaceNone ); document.body.appendChild( renderer.domElement ); // var params = { Cube: function () { cubeMesh.material = cubeMaterial; cubeMesh.visible = true; sphereMaterial.envMap = textureCube; sphereMaterial.needsUpdate = true; }, Equirectangular: function () { cubeMesh.material = equirectMaterial; cubeMesh.visible = true; sphereMaterial.envMap = textureEquirec; sphereMaterial.needsUpdate = true; }, Spherical: function () { cubeMesh.visible = false; sphereMaterial.envMap = textureSphere; sphereMaterial.needsUpdate = true; }, Refraction: false }; var gui = new dat.GUI(); gui.add( params, 'Cube' ); gui.add( params, 'Equirectangular' ); gui.add( params, 'Spherical' ); gui.add( params, 'Refraction' ).onChange( function( value ) { if ( value ) { textureEquirec.mapping = THREE.EquirectangularRefractionMapping; textureCube.mapping = THREE.CubeRefractionMapping; } else { textureEquirec.mapping = THREE.EquirectangularReflectionMapping; textureCube.mapping = THREE.CubeReflectionMapping; } sphereMaterial.needsUpdate = true; } ); gui.open(); window.addEventListener( 'resize', onWindowResize, false ); } function onWindowResize() { camera.aspect = window.innerWidth / window.innerHeight; camera.updateProjectionMatrix(); cameraCube.aspect = window.innerWidth / window.innerHeight; cameraCube.updateProjectionMatrix(); renderer.setSize( window.innerWidth, window.innerHeight ); } // function animate() { requestAnimationFrame( animate ); render(); controls.update(); } function render() { var timer = -0.0002 * Date.now(); camera.lookAt( scene.position ); cameraCube.rotation.copy( camera.rotation ); renderer.render( sceneCube, cameraCube ); renderer.render( scene, camera ); } </script> </body> </html>
Ludobaka/three.js
examples/webgl_materials_envmaps.html
HTML
mit
6,018
{% import "lib/paramList.html" as params -%} {% extends 'layout/api-base.template.html' %} {% block main %} {% include "includes/_description.html" %} {% include "includes/_metadata.html" %} {% endblock %}
not-for-me/angular
docs/templates/decorator.template.html
HTML
mit
211
<!DOCTYPE html> <html lang="en"> <head> <title>How do I delete a forum post (i.e. conversation)?</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta content="sakai.forums" name="description"> <meta content="Delete, Forum, Post, Topic, Conversation" name="search"> <link href="/library/skin/tool_base.css" media="screen" rel="stylesheet" type="text/css" charset="utf-8"> <link href="/library/skin/morpheus-default/tool.css" media="screen" rel="stylesheet" type="text/css" charset="utf-8"> <link href="/sakai-help-tool/css/help.css" media="screen" rel="stylesheet" type="text/css" charset="utf-8"> <link href="/library/js/jquery/featherlight/0.4.0/featherlight.min.css" media="screen" rel="stylesheet" type="text/css" charset="utf-8"> <script src="/library/js/jquery/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script><script src="/library/js/jquery/featherlight/0.4.0/featherlight.min.js" type="text/javascript" charset="utf-8"></script><script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $("a[rel^='featherlight']").featherlight({ type: { image:true }, closeOnClick: 'anywhere' }); }); </script> </head> <body> <div id="wrapper"> <div id="article-content"> <div id="article-header"> <h1 class="article-title">How do I delete a forum post (i.e. conversation)?</h1> </div> <div id="steps-container"> <div id="step-6472" class="step-container"> <h2 class="step-title">Go to Forums.</h2> <div class="step-instructions"><p>Select the&nbsp;<strong>Forums</strong>&nbsp;tool from Tool Menu in your site.</p></div> </div> <div class="clear"></div> <div id="step-6473" class="step-container"> <h2 class="step-title">Choose a topic within a forum.</h2> <div class="step-image-container step-image-fullsize"> <img src="/library/image/help/en/How-do-I-delete-a-forum-post--i.e.-conversation--/Choose-a-topic-within-a-forum-sm.png" width="640" height="207" class="step-image" alt="Choose a topic within a forum."><div class="step-image-caption"> <a href="/library/image/help/en/How-do-I-delete-a-forum-post--i.e.-conversation--/Choose-a-topic-within-a-forum.png" rel="featherlight" target="_blank">Zoom</a> </div> </div> <div class="step-instructions"><p>Click on the title of the topic to enter the topic. </p></div> </div> <div class="clear"></div> <div id="step-6474" class="step-container"> <h2 class="step-title">Select a conversation from list.</h2> <div class="step-image-container step-image-fullsize"> <img src="/library/image/help/en/How-do-I-delete-a-forum-post--i.e.-conversation--/Select-a-conversation-from-list-sm.png" width="640" height="123" class="step-image" alt="Select a conversation from list."><div class="step-image-caption"> <a href="/library/image/help/en/How-do-I-delete-a-forum-post--i.e.-conversation--/Select-a-conversation-from-list.png" rel="featherlight" target="_blank">Zoom</a> </div> </div> <div class="step-instructions"><p>Click on the title of the conversation. </p></div> </div> <div class="clear"></div> <div id="step-6475" class="step-container"> <h2 class="step-title">Click delete message.</h2> <div class="step-image-container step-image-fullsize"> <img src="/library/image/help/en/How-do-I-delete-a-forum-post--i.e.-conversation--/Click-delete-message-sm.png" width="640" height="102" class="step-image" alt="Click delete message."><div class="step-image-caption"> <a href="/library/image/help/en/How-do-I-delete-a-forum-post--i.e.-conversation--/Click-delete-message.png" rel="featherlight" target="_blank">Zoom</a> </div> </div> <div class="step-instructions"><p>Click <strong>Delete Message</strong> and the conversation on the particular topic will be removed.</p></div> </div> <div class="clear"></div> </div> </div> </div> </body> </html>
hackbuteer59/sakai
help/help/src/sakai_screensteps_forumsInstructorGuide/How-do-I-delete-a-forum-post--i.e.-conversation--.html
HTML
apache-2.0
4,264
<html> <body> <p>Reports invalid definition of a <a href="https://docs.python.org/3/library/typing.html#typing.NamedTuple">typing.NamedTuple</a>.</p> <p><b>Example:</b></p> <pre style="font-family: monospace"> import typing class FullName(typing.NamedTuple): first: str last: str = "" middle: str </pre> <p>As a fix, place the field with the default value after the fields without default values:</p> <pre style="font-family: monospace"> import typing class FullName(typing.NamedTuple): first: str middle: str last: str = "" </pre> </body> </html>
siosio/intellij-community
python/python-psi-impl/resources/inspectionDescriptions/PyNamedTupleInspection.html
HTML
apache-2.0
577
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> <title>Apache CloudStack | The Power Behind Your Cloud</title> </head> <body> <div id="insidetopbg"> <div id="inside_wrapper"> <div class="uppermenu_panel"> <div class="uppermenu_box"></div> </div> <div id="main_master"> <div id="inside_header"> <div class="header_top"> <a class="cloud_logo" href="http://cloudstack.org"></a> <div class="mainemenu_panel"></div> </div> </div> <div id="main_content"> <div class="inside_apileftpanel"> <div class="inside_contentpanel" style="width:930px;"> <div class="api_titlebox"> <div class="api_titlebox_left"> <span> Apache CloudStack v4.7.0 Domain Admin API Reference </span> <p></p> <h1>deleteNetworkACL</h1> <p>Deletes a network ACL</p> </div> <div class="api_titlebox_right"> <a class="api_backbutton" href="../TOC_Domain_Admin.html"></a> </div> </div> <div class="api_tablepanel"> <h2>Request parameters</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Parameter Name</strong></td><td style="width:500px;">Description</td><td style="width:180px;">Required</td> </tr> <tr> <td style="width:200px;"><strong>id</strong></td><td style="width:500px;"><strong>the ID of the network ACL</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> </table> </div> <div class="api_tablepanel"> <h2>Response Tags</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Response Name</strong></td><td style="width:500px;">Description</td> </tr> <tr> <td style="width:200px;"><strong>displaytext</strong></td><td style="width:500px;">any text associated with the success or failure</td> </tr> <tr> <td style="width:200px;"><strong>success</strong></td><td style="width:500px;">true if operation is executed successfully</td> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> <div id="footer_mainmaster"> <p>Copyright &copy; 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0.</a> <br> Apache, CloudStack, Apache CloudStack, the Apache CloudStack logo, the CloudMonkey logo and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </div> </div> </body> </html>
pdion891/cloudstack-www
source/api/apidocs-4.7/domain_admin/deleteNetworkACL.html
HTML
apache-2.0
2,641
<html> <body> Reports ternary expressions which can be replaced by an elvis expression. <p><b>Example:</b></p> <pre><code> def notNull(o, defaultValue) { o != null ? o : defaultValue } </code></pre> <p>After the quick-fix is applied:</p> <pre><code> def notNull(o, defaultValue) { o ?: defaultValue } </code></pre> </body> </html>
smmribeiro/intellij-community
plugins/groovy/groovy-psi/resources/inspectionDescriptions/GroovyConditionalCanBeElvis.html
HTML
apache-2.0
351
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_31) on Mon Jul 22 15:25:23 PDT 2013 --> <TITLE> Uses of Class org.apache.hadoop.security.SaslRpcServer (Hadoop 1.2.1 API) </TITLE> <META NAME="date" CONTENT="2013-07-22"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class org.apache.hadoop.security.SaslRpcServer (Hadoop 1.2.1 API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/hadoop/security/SaslRpcServer.html" title="class in org.apache.hadoop.security"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/hadoop/security//class-useSaslRpcServer.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="SaslRpcServer.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>org.apache.hadoop.security.SaslRpcServer</B></H2> </CENTER> No usage of org.apache.hadoop.security.SaslRpcServer <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/hadoop/security/SaslRpcServer.html" title="class in org.apache.hadoop.security"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/hadoop/security//class-useSaslRpcServer.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="SaslRpcServer.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright &copy; 2009 The Apache Software Foundation </BODY> </HTML>
determinedcheetahs/cheetah_juniper
hadoop/docs/api/org/apache/hadoop/security/class-use/SaslRpcServer.html
HTML
apache-2.0
6,014
<h1 id="lab_5_manage_data">Save and Fetch Data</h1> <p>The <a href="http://developer.chrome.com/trunk/apps/app_codelab3_mvc.html">sample from Lab 3</a> uses a static array of Todos. Every time your app restarts, whatever you&#39;ve changed is lost. In this section, we will save every change using <a href="http://developer.chrome.com/trunk/apps/storage.html">chrome.storage.sync</a>. </p> <p> This lets you store <em>small things</em> that automatically sync to the cloud if you are online and logged in to Chrome. If you are offline or unlogged, it saves locally and transparently: you don&#39;t have to handle online check and offline fallback in your application. </p> <h2 id="save_your_todos_in_the_cloud">Save your Todos in the cloud</h2> <p class="note"><b>Note:</b> Chrome Sync Storage is not intended to be used as a generic database. There are several restrictions on the amount of information you can save, so it is more appropriate to save settings and other small chunks of data. </p> <h3 id="manifest">Update manifest</h3> <p>Request permission to use storage in your manifest. Permissions are the same in the <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/angularjs/1_storage_sync/manifest.json">AngularJS manifest.json</a> and <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/javascript/1_storage_sync/manifest.json">JavaScript manifest.json</a>: </p> <pre> { ... , &quot;permissions&quot;: [&quot;storage&quot;] } </pre> <h3 id="simple-controller">Update controller</h3> <p>Change your controller to get the Todo list from syncable storage instead of a static list: <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/angularjs/1_storage_sync/controller.js">AngularJS controller.js</a> or <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/javascript/1_storage_sync/controller.js">JavaScript controller.js</a>. </p> <tabs data-group="source"> <header tabindex="0" data-value="angular">Angular</header> <header tabindex="0" data-value="js">JavaScript</header> <content> <pre> // Notice that chrome.storage.sync.get is asynchronous chrome.storage.sync.get(&#39;todolist&#39;, function(value) { // The $apply is only necessary to execute the function inside Angular scope $scope.$apply(function() { $scope.load(value); }); }); // If there is saved data in storage, use it. Otherwise, bootstrap with sample todos $scope.load = function(value) { if (value &amp;&amp; value.todolist) { $scope.todos = value.todolist; } else { $scope.todos = [ {text:&#39;learn angular&#39;, done:true}, {text:&#39;build an angular app&#39;, done:false}]; } } $scope.save = function() { chrome.storage.sync.set({&#39;todolist&#39;: $scope.todos}); }; </pre> </content> <content> <pre> /** * Listen to changes in the model and trigger the appropriate changes in the view **/ model.addListener(function(model, changeType, param) { if ( changeType === 'removed' || changeType === 'archived' || changeType === 'reset') { redrawUI(model); } else if ( changeType === 'added' ) { drawTodo(model.todos[param], list); } else if ( changeType === 'stateChanged') { updateTodo(model.todos[param]); } storageSave(); updateCounters(model); }); // If there is saved data in storage, use it. Otherwise, bootstrap with sample todos var storageLoad = function() { chrome.storage.sync.get('todolist', function(value) { if (value && value.todolist) { model.setTodos(value.todolist); } else { model.addTodo('learn Chrome Apps', true); model.addTodo('build a Chrome App', false); } }); } var storageSave = function() { chrome.storage.sync.set({'todolist': model.todos}); }; </pre> </content> </tabs> <h3 id="simple-view">Update view</h3> <p>In the view, <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/angularjs/1_storage_sync/index.html">AngularJs index.hmtl</a> or <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/javascript/1_storage_sync/index.html">JavaScript index.html</a>, save the data whenever it changes. In AngularJS, we call <code>save()</code> explicitedly but there are many ways of doing this. For example, you could also use <code>$watchers</code> on the scope. </p> <tabs data-group="source"> <header tabindex="0" data-value="angular">Angular</header> <header tabindex="0" data-value="js">JavaScript</header> <content> <pre> ... [ &lt;a href=&quot;&quot; ng-click=&quot;archive() || save()&quot;&gt;archive&lt;/a&gt; ] ... &lt;input type=&quot;checkbox&quot; ng-model=&quot;todo.done&quot; ng-change=&quot;save()&quot;&gt; ... &lt;form ng-submit=&quot;addTodo() || save()&quot;&gt; ... </pre> </content> <content> <pre> &lt;form&gt; &lt;input type="text" size="30" placeholder="add new todo here"&gt; &lt;input class="btn-primary" type="submit" value="add"&gt; &lt;/form&gt; </pre> </content> </tabs> <h3 id="results1">Check the results</h3> <p>Check the results by reloading the app: open the app, right-click and select Reload App. You can now add Todo items, close the app, and the new items will still be there when you reopen the app. </p> <p> If you get stuck and want to see the app in action, go to <code>chrome://extensions</code>, load the unpacked app, and launch the app from a new tab: <a href="https://github.com/GoogleChrome/chrome-app-codelab/tree/master/lab5_data/angularjs/1_storage_sync">Angular JS 1_storage_sync</a> or <a href="https://github.com/GoogleChrome/chrome-app-codelab/tree/master/lab5_data/javascript/1_storage_sync">JavaScript 1_storage_sync</a>. </p> <h2 id="handle_drag_and_dropped_files_and_urls">Handle drag-and-dropped files and URLs</h2> <p>Suppose you want to create Todos associated with local files and/or URLs. The natural way of doing this is to accept dropped items. It&#39;s simple enough to add drag-and-drop support in a Chrome packaged app using the standard <a href="http://www.html5rocks.com/en/tutorials/dnd/basics/">HTML5 Drag-and-Drop API</a>. </p> <h3 id="dd-controller">Update controller</h3> <p>In the controller, add code to handle the events of dragover, dragleave, and drop: <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/angularjs/2_drop_files/controller.js">AngularJS controller.js</a> or <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/javascript/2_drop_files/controller.js">JavaScript controller.js</a>. </p> <tabs data-group="source"> <header tabindex="0" data-value="angular">Angular</header> <header tabindex="0" data-value="js">JavaScript</header> <content> <pre> var defaultDropText = &quot;Or drop files here...&quot;; $scope.dropText = defaultDropText; // on dragOver, we will change the style and text accordingly, depending on // the data being transferred var dragOver = function(e) { e.stopPropagation(); e.preventDefault(); var valid = e.dataTransfer &amp;&amp; e.dataTransfer.types &amp;&amp; ( e.dataTransfer.types.indexOf(&#39;Files&#39;) &gt;= 0 || e.dataTransfer.types.indexOf(&#39;text/uri-list&#39;) &gt;=0 ) $scope.$apply(function() { $scope.dropText = valid ? &quot;Drop files and remote images and they will become Todos&quot; : &quot;Can only drop files and remote images here&quot;; $scope.dropClass = valid ? &quot;dragging&quot; : &quot;invalid-dragging&quot;; }); } // reset style and text to the default var dragLeave = function(e) { $scope.$apply(function() { $scope.dropText = defaultDropText; $scope.dropClass = &#39;&#39;; }); } // on drop, we create the appropriate TODOs using dropped data var drop = function(e) { e.preventDefault(); e.stopPropagation(); var newTodos=[]; if (e.dataTransfer.types.indexOf(&#39;Files&#39;) &gt;= 0) { var files = e.dataTransfer.files; for (var i = 0; i &lt; files.length; i++) { var text = files[i].name+&#39;, &#39;+files[i].size+&#39; bytes&#39;; newTodos.push({text:text, done:false, file: files[i]}); } } else { // uris var uri=e.dataTransfer.getData(&quot;text/uri-list&quot;); newTodos.push({text:uri, done:false, uri: uri}); } $scope.$apply(function() { $scope.dropText = defaultDropText; $scope.dropClass = &#39;&#39;; for (var i = 0; i &lt; newTodos.length; i++) { $scope.todos.push(newTodos[i]); } $scope.save(); }); } document.body.addEventListener(&quot;dragover&quot;, dragOver, false); document.body.addEventListener(&quot;dragleave&quot;, dragLeave, false); document.body.addEventListener(&quot;drop&quot;, drop, false); </pre> </content> <content> <pre> var defaultDropText = "Or drop files here..."; var dropText = document.getElementById('dropText'); dropText.innerText = defaultDropText; // on dragOver, we will change the style and text accordingly, depending on // the data being transfered var dragOver = function(e) { e.stopPropagation(); e.preventDefault(); var valid = isValid(e.dataTransfer); if (valid) { dropText.innerText="Drop files and remote images and they will become Todos"; document.body.classList.add("dragging"); } else { dropText.innerText="Can only drop files and remote images here"; document.body.classList.add("invalid-dragging"); } } var isValid = function(dataTransfer) { return dataTransfer && dataTransfer.types && ( dataTransfer.types.indexOf('Files') >= 0 || dataTransfer.types.indexOf('text/uri-list') >=0 ) } // reset style and text to the default var dragLeave = function(e) { dropText.innerText=defaultDropText; document.body.classList.remove('dragging'); document.body.classList.remove('invalid-dragging'); } // on drop, we create the appropriate TODOs using dropped data var drop = function(e, model) { e.preventDefault(); e.stopPropagation(); if (isValid(e.dataTransfer)) { if (e.dataTransfer.types.indexOf('Files') >= 0) { var files = e.dataTransfer.files; for (var i = 0; i &lt; files.length; i++) { var text = files[i].name+', '+files[i].size+' bytes'; model.addTodo(text, false, {file: files[i]}); } } else { // uris var uri=e.dataTransfer.getData("text/uri-list"); model.addTodo(uri, false, {uri: uri}); } } dragLeave(); } exports.setDragHandlers = function(model) { document.body.addEventListener("dragover", dragOver, false); document.body.addEventListener("dragleave", dragLeave, false); document.body.addEventListener("drop", function(e) { drop(e, model); }, false); } </pre> </content> </tabs> <h3 id="dd-view">Update view</h3> <p>If using AngularJS, let&#39;s move the Angular scope definition from the div to the body in the <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/angularjs/2_drop_files/index.html">AngularJS index.html</a> file to make all the area of the window accept the drop event and still work on the same scope. Also, let&#39;s associate the body&#39;s CSS class with the Angular controller&#39;s class, so we can change the class directly in the scope and have it automatically changed in the DOM: </p> <tabs data-group="source"> <header tabindex="0" data-value="angular">Angular</header> <content> <pre> &lt;body ng-controller=&quot;TodoCtrl&quot; ng-class=&quot;dropClass&quot;&gt; &lt;!-- remember to remove the ng-controller attribute from the div where it was before --&gt; </pre> </content> </tabs> <p>Add a message placeholder (in <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/angularjs/2_drop_files/index.html">AngularJS index.html</a> or <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/javascript/2_drop_files/index.html">JavaScript index.html</a>) to warn the user that some types of dragging are not allowed: </p> <tabs data-group="source"> <header tabindex="0" data-value="angular">Angular</header> <header tabindex="0" data-value="js">JavaScript</header> <content> <pre> &lt;div&gt; &#123;&#123;dropText&#125;&#125; &lt;/div&gt; </pre> </content> <content> <pre> &lt;div id=&quot;dropText&quot;&gt; &lt;/div&gt; </pre> </content> </tabs> <h3 id="dd-css">Update stylesheet</h3> <p>Add appropriate styling for the <code>dragging</code> and <code>invalid-dragging</code> CSS classes in the css. <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/angularjs/2_drop_files/todo.css">AngularJS todo.css</a> and <a href="https://github.com/GoogleChrome/chrome-app-codelab/blob/master/lab5_data/javascript/2_drop_files/todo.css">JavaScript todo.css</a> are the same. Here we used a green or red background color animation: </p> <pre> @-webkit-keyframes switch-green { from { background-color: white;} to {background-color: rgb(163, 255, 163);} } @-webkit-keyframes switch-red { from { background-color: white;} to {background-color: rgb(255, 203, 203);} } .dragging { -webkit-animation: switch-green 0.5s ease-in-out 0 infinite alternate; } .invalid-dragging { -webkit-animation: switch-red 0.5s ease-in-out 0 infinite alternate; } </pre> <h3 id="results2">Check the results</h3> <p>Check the results by reloading the app: open the app, right-click and select Reload App. You can now drag files into the Todo list.</p> <p> If you get stuck and want to see the app in action, go to <code>chrome://extensions</code>, load the unpacked app, and launch the app from a new tab: <a href="https://github.com/GoogleChrome/chrome-app-codelab/tree/master/lab5_data/angularjs/2_drop_files">AngularJS 2_drop_files</a> or <a href="https://github.com/GoogleChrome/chrome-app-codelab/tree/master/lab5_data/javascript/2_drop_files">JavaScript 2_drop_files</a>. </p> <h2 id="challenge_">Challenge</h2> <p>The current code only saves the file reference, but it doesn&#39;t open the file. Using the <a href="http://www.html5rocks.com/en/tutorials/file/filesystem/">HTML5 Filesystem API</a>, save the file contents in a sandboxed filesystem. When the Todo item is archived, remove the corresponding file from the sandboxed filesystem. Add an &quot;open&quot; link on each Todo that has an associated file. When the item is clicked and the file exists in the sandboxed filesystem, use the Chrome packaged app <a href="http://developer.chrome.com/apps/fileSystem.html">Filesystem API</a> to request a writable FileEntry from the user. Save the file data from the sandboxed filesystem into that entry.</p> <p class="note"><b>Tip:</b> managing file entries using the raw HTML5 Filesystem API is not trivial. You might want to use a wrapper library, like Eric Bidelman&#39;s <a href="https://github.com/ebidel/filer.js">filer.js</a>.</p> <h2 id="takeaways_">Takeaways</h2> <ul> <li><p>Use <a href="http://developer.chrome.com/apps/storage.html">chrome.storage.sync</a> to save small data that you need to be sync&#39;ed among devices, like configuration options, application state, etc. The sync is automatic, as long as the same user is logged into Chrome on all devices.</p></li> <li><p>Chrome packaged apps support almost all HTML5 APIs, such as drag and drop. HTML Filesystem API is also supported, with extra features from the Chrome packaged app&#39;s <a href="http://developer.chrome.com/apps/fileSystem.html">Filesystem API</a>, like asking the user to pick files on her local disk for read and write. The vanilla HTML5 Filesystem API only allows access to a sandboxed filesystem.</p></li> </ul> <h2 id="you_should_also_read">You should also read</h2> <p><a href="http://developer.chrome.com/apps/app_storage.html">Manage Data</a> tutorial</p> <h2 id="what_39_s_next_">What's next?</h2> <p>In <a href="app_codelab6_lifecycle.html">5 - Manage App Lifecycle</a>, you will learn the basics of the Chrome packaged app lifecycle. </p>
plxaye/chromium
src/chrome/common/extensions/docs/templates/articles/app_codelab5_data.html
HTML
apache-2.0
16,078
<div class="alert alert-info alert-dismissible" role="alert" ng-controller="InfoAlertController" ng-repeat="info in common.infoList"> <button type="button" class="close" ng-click="removeAlert(common.infoList, $index)"> <span aria-hidden="true">&times;</span> <span class="sr-only">Close</span> </button> <span ng-bind-html="info.message"></span> </div>
rockmkd/datacollector
datacollector-ui/src/main/webapp/app/home/alerts/info/infoAlert.tpl.html
HTML
apache-2.0
378
<!DOCTYPE html> <html lang="en" > <head> <meta charset="utf-8"/> <title>cjk-earthly-branch, suffix</title> <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> <link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'> <meta name='flags' content='font'> <meta name="assert" content="list-style-type: cjk-earthly-branch produces a suffix per the spec."> <style type='text/css'> ol li { list-style-type: cjk-earthly-branch; } /* the following CSS is not part of the test */ .test { font-size: 25px; } ol { margin: 0; padding-left: 8em; } </style> </head> <body> <p class="instructions">Test passes if the numbers AND the suffix in each of the two columns is the same.</p> <div class='test'><ol> <div><bdi dir=ltr>子、</bdi>子、</div> <div><bdi dir=ltr>丑、</bdi>丑、</div> </ol> </div> <!--Notes: You will need an appropriate font to run this test. To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip. --> </body> </html>
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-203-ref.html
HTML
bsd-3-clause
1,028
<script src="shared.js"></script> <style> html, body { font-size: 14px; min-width: 460px; min-height: 133px; } body { margin: 8px; } hr { width: 100%; } </style> <p> <b>This page is using an unminified build of React. &#x1f6a7;</b> </p> <p> The React build on this page appears to be unminified. <br /> This makes its size larger, and causes React to run slower. <br /> <br /> Make sure to <a href="https://reactjs.org/docs/optimizing-performance.html#use-the-production-build">set up minification</a> before deployment. </p> <hr /> <p> Open the developer tools, and "Components" and "Profiler" tabs will appear to the right. </p>
cpojer/react
packages/react-devtools-extensions/popups/unminified.html
HTML
mit
682
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Links Network demo - add nodes dynamically</title> <style> body { font: 10pt arial; } </style> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript" src="../network.js"></script> <script type="text/javascript"> var nodesTable = null; var linksTable = null; var network = null; google.load('visualization', '1'); // Set callback to run when API is loaded google.setOnLoadCallback(draw); var id = 0; // Called when the Visualization API is loaded. function draw() { // Create and populate a data table. nodesTable = new google.visualization.DataTable(); nodesTable.addColumn('number', 'id'); nodesTable.addColumn('string', 'text'); nodesTable.addRow([0, '0']); // specify options var options = { 'width': '600px', 'height': '600px', 'stabilize': false }; // Instantiate our graph object. network = new links.Network(document.getElementById('mynetwork')); // Draw our graph with the created data and options network.draw(nodesTable, options); } // add a node and link it to one of the existing nodes function add() { id++; nodesTable = new google.visualization.DataTable(); nodesTable.addColumn('number', 'id'); nodesTable.addColumn('string', 'text'); nodesTable.addColumn('string', 'action'); nodesTable.addRow([id, id + '', 'create']); nodesTable.addRow([0, '0 (' + id + ' childs)', 'update']); network.addNodes(nodesTable); var from = Math.floor(Math.random() * (id-1) ); var to = id; linksTable = new google.visualization.DataTable(); linksTable.addColumn('number', 'from'); linksTable.addColumn('number', 'to'); linksTable.addRow([from, to]); network.addLinks(linksTable); } </script> </head> <body> <form onsubmit= "javascript: try{add();} catch (e){alert(e);}; return false;"> <input type="submit" value="Add"> </form> <br> <div id="mynetwork"></div> <div id="info"></div> </body> </html>
hansmaulwurf23/chap-links-library
js/src/network/examples/example12_adding_nodes.html
HTML
apache-2.0
2,434
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_24) on Sat Jul 09 13:20:37 CEST 2011 --> <TITLE> Serialized Form (JCalendar API) </TITLE> <META NAME="date" CONTENT="2011-07-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Serialized Form (JCalendar API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H1> Serialized Form</H1> </CENTER> <HR SIZE="4" NOSHADE> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="center"><FONT SIZE="+2"> <B>Package</B> <B>com.toedter.calendar</B></FONT></TH> </TR> </TABLE> <P> <A NAME="com.toedter.calendar.JCalendar"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/JCalendar.html" title="class in com.toedter.calendar">com.toedter.calendar.JCalendar</A> extends javax.swing.JPanel implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>8913369762644440133L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> calendar</H3> <PRE> java.util.Calendar <B>calendar</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> initialized</H3> <PRE> boolean <B>initialized</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> monthYearPanel</H3> <PRE> javax.swing.JPanel <B>monthYearPanel</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> specialButtonPanel</H3> <PRE> javax.swing.JPanel <B>specialButtonPanel</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> isTodayButtonVisible</H3> <PRE> boolean <B>isTodayButtonVisible</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> isNullDateButtonVisible</H3> <PRE> boolean <B>isNullDateButtonVisible</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> defaultTodayButtonText</H3> <PRE> java.lang.String <B>defaultTodayButtonText</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> defaultNullDateButtonText</H3> <PRE> java.lang.String <B>defaultNullDateButtonText</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> todayButtonText</H3> <PRE> java.lang.String <B>todayButtonText</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> nullDateButtonText</H3> <PRE> java.lang.String <B>nullDateButtonText</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dayChooser</H3> <PRE> <A HREF="com/toedter/calendar/JDayChooser.html" title="class in com.toedter.calendar">JDayChooser</A> <B>dayChooser</B></PRE> <DL> <DD>the day chooser <P> <DL> </DL> </DL> <HR> <H3> weekOfYearVisible</H3> <PRE> boolean <B>weekOfYearVisible</B></PRE> <DL> <DD>indicates if weeks of year shall be visible <P> <DL> </DL> </DL> <HR> <H3> locale</H3> <PRE> java.util.Locale <B>locale</B></PRE> <DL> <DD>the locale <P> <DL> </DL> </DL> <HR> <H3> monthChooser</H3> <PRE> <A HREF="com/toedter/calendar/JMonthChooser.html" title="class in com.toedter.calendar">JMonthChooser</A> <B>monthChooser</B></PRE> <DL> <DD>the month chooser <P> <DL> </DL> </DL> <HR> <H3> yearChooser</H3> <PRE> <A HREF="com/toedter/calendar/JYearChooser.html" title="class in com.toedter.calendar">JYearChooser</A> <B>yearChooser</B></PRE> <DL> <DD>the year chooser <P> <DL> </DL> </DL> <HR> <H3> todayButton</H3> <PRE> javax.swing.JButton <B>todayButton</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> nullDateButton</H3> <PRE> javax.swing.JButton <B>nullDateButton</B></PRE> <DL> <DL> </DL> </DL> <P> <A NAME="com.toedter.calendar.JDateChooser"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/JDateChooser.html" title="class in com.toedter.calendar">com.toedter.calendar.JDateChooser</A> extends javax.swing.JPanel implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>-4306412745720670722L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> dateEditor</H3> <PRE> <A HREF="com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar">IDateEditor</A> <B>dateEditor</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> calendarButton</H3> <PRE> javax.swing.JButton <B>calendarButton</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> jcalendar</H3> <PRE> <A HREF="com/toedter/calendar/JCalendar.html" title="class in com.toedter.calendar">JCalendar</A> <B>jcalendar</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> popup</H3> <PRE> javax.swing.JPopupMenu <B>popup</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> isInitialized</H3> <PRE> boolean <B>isInitialized</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dateSelected</H3> <PRE> boolean <B>dateSelected</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> lastSelectedDate</H3> <PRE> java.util.Date <B>lastSelectedDate</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> changeListener</H3> <PRE> javax.swing.event.ChangeListener <B>changeListener</B></PRE> <DL> <DL> </DL> </DL> <P> <A NAME="com.toedter.calendar.JDateChooserCellEditor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/JDateChooserCellEditor.html" title="class in com.toedter.calendar">com.toedter.calendar.JDateChooserCellEditor</A> extends javax.swing.AbstractCellEditor implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>917881575221755609L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> dateChooser</H3> <PRE> <A HREF="com/toedter/calendar/JDateChooser.html" title="class in com.toedter.calendar">JDateChooser</A> <B>dateChooser</B></PRE> <DL> <DL> </DL> </DL> <P> <A NAME="com.toedter.calendar.JDayChooser"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/JDayChooser.html" title="class in com.toedter.calendar">com.toedter.calendar.JDayChooser</A> extends javax.swing.JPanel implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>5876398337018781820L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> days</H3> <PRE> javax.swing.JButton[] <B>days</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> weeks</H3> <PRE> javax.swing.JButton[] <B>weeks</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> selectedDay</H3> <PRE> javax.swing.JButton <B>selectedDay</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> weekPanel</H3> <PRE> javax.swing.JPanel <B>weekPanel</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dayPanel</H3> <PRE> javax.swing.JPanel <B>dayPanel</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> day</H3> <PRE> int <B>day</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> oldDayBackgroundColor</H3> <PRE> java.awt.Color <B>oldDayBackgroundColor</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> selectedColor</H3> <PRE> java.awt.Color <B>selectedColor</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> sundayForeground</H3> <PRE> java.awt.Color <B>sundayForeground</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> weekdayForeground</H3> <PRE> java.awt.Color <B>weekdayForeground</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> decorationBackgroundColor</H3> <PRE> java.awt.Color <B>decorationBackgroundColor</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dayNames</H3> <PRE> java.lang.String[] <B>dayNames</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> calendar</H3> <PRE> java.util.Calendar <B>calendar</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> today</H3> <PRE> java.util.Calendar <B>today</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> locale</H3> <PRE> java.util.Locale <B>locale</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> initialized</H3> <PRE> boolean <B>initialized</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> weekOfYearVisible</H3> <PRE> boolean <B>weekOfYearVisible</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> decorationBackgroundVisible</H3> <PRE> boolean <B>decorationBackgroundVisible</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> decorationBordersVisible</H3> <PRE> boolean <B>decorationBordersVisible</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dayBordersVisible</H3> <PRE> boolean <B>dayBordersVisible</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> alwaysFireDayProperty</H3> <PRE> boolean <B>alwaysFireDayProperty</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> maxDayCharacters</H3> <PRE> int <B>maxDayCharacters</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dateEvaluators</H3> <PRE> java.util.List&lt;E&gt; <B>dateEvaluators</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> minMaxDateEvaluator</H3> <PRE> <A HREF="com/toedter/calendar/MinMaxDateEvaluator.html" title="class in com.toedter.calendar">MinMaxDateEvaluator</A> <B>minMaxDateEvaluator</B></PRE> <DL> <DL> </DL> </DL> <P> <A NAME="com.toedter.calendar.JMonthChooser"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/JMonthChooser.html" title="class in com.toedter.calendar">com.toedter.calendar.JMonthChooser</A> extends javax.swing.JPanel implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>-2028361332231218527L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> hasSpinner</H3> <PRE> boolean <B>hasSpinner</B></PRE> <DL> <DD>true, if the month chooser has a spinner component <P> <DL> </DL> </DL> <HR> <H3> locale</H3> <PRE> java.util.Locale <B>locale</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> month</H3> <PRE> int <B>month</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> oldSpinnerValue</H3> <PRE> int <B>oldSpinnerValue</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dayChooser</H3> <PRE> <A HREF="com/toedter/calendar/JDayChooser.html" title="class in com.toedter.calendar">JDayChooser</A> <B>dayChooser</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> yearChooser</H3> <PRE> <A HREF="com/toedter/calendar/JYearChooser.html" title="class in com.toedter.calendar">JYearChooser</A> <B>yearChooser</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> comboBox</H3> <PRE> javax.swing.JComboBox <B>comboBox</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> spinner</H3> <PRE> javax.swing.JSpinner <B>spinner</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> initialized</H3> <PRE> boolean <B>initialized</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> localInitialize</H3> <PRE> boolean <B>localInitialize</B></PRE> <DL> <DL> </DL> </DL> <P> <A NAME="com.toedter.calendar.JSpinnerDateEditor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/JSpinnerDateEditor.html" title="class in com.toedter.calendar">com.toedter.calendar.JSpinnerDateEditor</A> extends javax.swing.JSpinner implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>5692204052306085316L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> date</H3> <PRE> java.util.Date <B>date</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dateFormatString</H3> <PRE> java.lang.String <B>dateFormatString</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dateFormatter</H3> <PRE> java.text.SimpleDateFormat <B>dateFormatter</B></PRE> <DL> <DL> </DL> </DL> <P> <A NAME="com.toedter.calendar.JTextFieldDateEditor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/JTextFieldDateEditor.html" title="class in com.toedter.calendar">com.toedter.calendar.JTextFieldDateEditor</A> extends javax.swing.JFormattedTextField implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>-8901842591101625304L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> date</H3> <PRE> java.util.Date <B>date</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dateFormatter</H3> <PRE> java.text.SimpleDateFormat <B>dateFormatter</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> maskFormatter</H3> <PRE> javax.swing.text.MaskFormatter <B>maskFormatter</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> datePattern</H3> <PRE> java.lang.String <B>datePattern</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> maskPattern</H3> <PRE> java.lang.String <B>maskPattern</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> placeholder</H3> <PRE> char <B>placeholder</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> darkGreen</H3> <PRE> java.awt.Color <B>darkGreen</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> dateUtil</H3> <PRE> <A HREF="com/toedter/calendar/DateUtil.html" title="class in com.toedter.calendar">DateUtil</A> <B>dateUtil</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> isMaskVisible</H3> <PRE> boolean <B>isMaskVisible</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> ignoreDatePatternChange</H3> <PRE> boolean <B>ignoreDatePatternChange</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> hours</H3> <PRE> int <B>hours</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> minutes</H3> <PRE> int <B>minutes</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> seconds</H3> <PRE> int <B>seconds</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> millis</H3> <PRE> int <B>millis</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> calendar</H3> <PRE> java.util.Calendar <B>calendar</B></PRE> <DL> <DL> </DL> </DL> <P> <A NAME="com.toedter.calendar.JYearChooser"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/JYearChooser.html" title="class in com.toedter.calendar">com.toedter.calendar.JYearChooser</A> extends <A HREF="com/toedter/components/JSpinField.html" title="class in com.toedter.components">JSpinField</A> implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>2648810220491090064L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> dayChooser</H3> <PRE> <A HREF="com/toedter/calendar/JDayChooser.html" title="class in com.toedter.calendar">JDayChooser</A> <B>dayChooser</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> oldYear</H3> <PRE> int <B>oldYear</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> startYear</H3> <PRE> int <B>startYear</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> endYear</H3> <PRE> int <B>endYear</B></PRE> <DL> <DL> </DL> </DL> <HR SIZE="4" NOSHADE> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="center"><FONT SIZE="+2"> <B>Package</B> <B>com.toedter.calendar.demo</B></FONT></TH> </TR> </TABLE> <P> <A NAME="com.toedter.calendar.demo.DateChooserPanel"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/demo/DateChooserPanel.html" title="class in com.toedter.calendar.demo">com.toedter.calendar.demo.DateChooserPanel</A> extends javax.swing.JPanel implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>-1282280858252793253L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> components</H3> <PRE> javax.swing.JComponent[] <B>components</B></PRE> <DL> <DL> </DL> </DL> <P> <A NAME="com.toedter.calendar.demo.DemoTable"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/demo/DemoTable.html" title="class in com.toedter.calendar.demo">com.toedter.calendar.demo.DemoTable</A> extends javax.swing.JPanel implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>-2823838920746867592L <P> <P> <A NAME="com.toedter.calendar.demo.JCalendarDemo"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/calendar/demo/JCalendarDemo.html" title="class in com.toedter.calendar.demo">com.toedter.calendar.demo.JCalendarDemo</A> extends javax.swing.JApplet implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>6739986412544494316L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> splitPane</H3> <PRE> javax.swing.JSplitPane <B>splitPane</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> calendarPanel</H3> <PRE> javax.swing.JPanel <B>calendarPanel</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> beans</H3> <PRE> javax.swing.JComponent[] <B>beans</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> propertyPanel</H3> <PRE> javax.swing.JPanel <B>propertyPanel</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> propertyTitlePanel</H3> <PRE> <A HREF="com/toedter/components/JTitlePanel.html" title="class in com.toedter.components">JTitlePanel</A> <B>propertyTitlePanel</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> componentTitlePanel</H3> <PRE> <A HREF="com/toedter/components/JTitlePanel.html" title="class in com.toedter.components">JTitlePanel</A> <B>componentTitlePanel</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> componentPanel</H3> <PRE> javax.swing.JPanel <B>componentPanel</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> toolBar</H3> <PRE> javax.swing.JToolBar <B>toolBar</B></PRE> <DL> <DL> </DL> </DL> <HR SIZE="4" NOSHADE> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="center"><FONT SIZE="+2"> <B>Package</B> <B>com.toedter.components</B></FONT></TH> </TR> </TABLE> <P> <A NAME="com.toedter.components.JLocaleChooser"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/components/JLocaleChooser.html" title="class in com.toedter.components">com.toedter.components.JLocaleChooser</A> extends javax.swing.JComboBox implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>8152430789764877431L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> component</H3> <PRE> javax.swing.JComponent <B>component</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> locales</H3> <PRE> java.util.Locale[] <B>locales</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> locale</H3> <PRE> java.util.Locale <B>locale</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> localeCount</H3> <PRE> int <B>localeCount</B></PRE> <DL> <DL> </DL> </DL> <P> <A NAME="com.toedter.components.JSpinField"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/components/JSpinField.html" title="class in com.toedter.components">com.toedter.components.JSpinField</A> extends javax.swing.JPanel implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>1694904792717740650L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> spinner</H3> <PRE> javax.swing.JSpinner <B>spinner</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> textField</H3> <PRE> javax.swing.JTextField <B>textField</B></PRE> <DL> <DD>the text (number) field <P> <DL> </DL> </DL> <HR> <H3> min</H3> <PRE> int <B>min</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> max</H3> <PRE> int <B>max</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> value</H3> <PRE> int <B>value</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> darkGreen</H3> <PRE> java.awt.Color <B>darkGreen</B></PRE> <DL> <DL> </DL> </DL> <P> <A NAME="com.toedter.components.JTitlePanel"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Class <A HREF="com/toedter/components/JTitlePanel.html" title="class in com.toedter.components">com.toedter.components.JTitlePanel</A> extends javax.swing.JPanel implements Serializable</B></FONT></TH> </TR> </TABLE> <P> <B>serialVersionUID:&nbsp;</B>9104873267039717087L <P> <A NAME="serializedForm"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Serialized Fields</B></FONT></TH> </TR> </TABLE> <H3> northPanel</H3> <PRE> javax.swing.JPanel <B>northPanel</B></PRE> <DL> <DL> </DL> </DL> <HR> <H3> label</H3> <PRE> javax.swing.JLabel <B>label</B></PRE> <DL> <DL> </DL> </DL> <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright © 1999 - 2011 Kai Toedter. </BODY> </HTML>
aitortarazaga/Programacion
t8p1p123/jcalendar-1.4/doc/api/serialized-form.html
HTML
apache-2.0
29,147
<!DOCTYPE html> <html> <head> <title>Please Participate in Our Survey!</title> <link href="https://fonts.googleapis.com/css?family=Oswald:300,700|Varela+Round" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div class="header"> <ul> <li>Question 1</li> <li>Question 2</li> <li>Question 3</li> <li>Question 4</li> <li>Question 5</li> <li>Question 6</li> </ul> </div> <div class="welcome"> <h1>Welcome to our survey!</h1> <p>We're looking forward to getting your answers so we can make sure our products and services are the best they can be!</p> </div> <div class="question"> <h4>Question 1</h4> <h2>I like participating in physical activity such as running, swimming, or biking.</h2> <div class="answer"> <h3>Disagree</h3> </div> <div class="answer"> <h3>Neutral</h3> </div> <div class="answer"> <h3>Agree</h3> </div> </div> <div class="question"> <h4>Question 2</h4> <h2>I try to keep up to date with the latest fashion in active wear.</h2> <div class="answer"> <h3>Disagree</h3> </div> <div class="answer"> <h3>Neutral</h3> </div> <div class="answer"> <h3>Agree</h3> </div> </div> <div class="question"> <h4>Question 3</h4> <h2>I purchase clothing online regularly.</h2> <div class="answer"> <h3>Disagree</h3> </div> <div class="answer"> <h3>Neutral</h3> </div> <div class="answer"> <h3>Agree</h3> </div> </div> <div class="question"> <h4>Question 4</h4> <h2>I try to buy goods that are designed and/or manufactured in my home country.</h2> <div class="answer"> <h3>Disagree</h3> </div> <div class="answer"> <h3>Neutral</h3> </div> <div class="answer"> <h3>Agree</h3> </div> </div> <div class="question"> <h4>Question 5</h4> <h2>I look to famous athletes when trying to choose what to wear when training.</h2> <div class="answer"> <h3>Disagree</h3> </div> <div class="answer"> <h3>Neutral</h3> </div> <div class="answer"> <h3>Agree</h3> </div> </div> </body> </html>
akgnit/Code-Academy
7CSS Positioning/Layout/9Review/index.html
HTML
apache-2.0
2,383
<!DOCTYPE html> <html> <link href="resources/grid.css" rel="stylesheet"> <link href="resources/grid-alignment.css" rel="stylesheet"> <style> .grid { grid-template-columns: 100px 50px; grid-template-rows: 70px 30px; width: 400px; height: 200px; margin: 5px; /* Ensures that the grid container is the containing block of the absolutely positioned grid children. */ position: relative; } .grid > div { position: absolute; width: 100%; height: 100%; background-color: lime; } .offsets { left: 0; top: 0; } </style> <script src="../../resources/testharness.js"></script> <script src="../../resources/testharnessreport.js"></script> <script src="../../resources/check-layout-th.js"></script> <body onload="checkLayout('.grid')"> <div id="log"></div> <p>This test checks the behavior of the positioned items in a grid using content alignment in RTL.</p> <div class="grid directionRTL contentStart"> <div style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="300" data-offset-y="0" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentStart"> <div class="offsets" style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="300" data-offset-y="0" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentCenter"> <div style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="175" data-offset-y="50" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentCenter"> <div class="offsets" style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="175" data-offset-y="50" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentEnd"> <div style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="50" data-offset-y="100" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentEnd"> <div class="offsets" style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="50" data-offset-y="100" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentSpaceBetween"> <div style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="300" data-offset-y="0" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentSpaceBetween"> <div class="offsets" style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="300" data-offset-y="0" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentSpaceAround"> <div style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="238" data-offset-y="25" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentSpaceAround"> <div class="offsets" style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="238" data-offset-y="25" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentSpaceEvenly"> <div style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="217" data-offset-y="33" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentSpaceEvenly"> <div class="offsets" style="grid-column: 1 / 2; grid-row: 1 / 2;" data-offset-x="217" data-offset-y="33" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentStart"> <div style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="250" data-offset-y="70" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentStart"> <div class="offsets" style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="250" data-offset-y="70" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentCenter"> <div style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="125" data-offset-y="120" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentCenter"> <div class="offsets" style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="125" data-offset-y="120" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentEnd"> <div style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="0" data-offset-y="170" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentEnd"> <div class="offsets" style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="0" data-offset-y="170" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentSpaceBetween"> <div style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="0" data-offset-y="170" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentSpaceBetween"> <div class="offsets" style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="0" data-offset-y="170" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentSpaceAround"> <div style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="63" data-offset-y="145" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentSpaceAround"> <div class="offsets" style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="63" data-offset-y="145" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentSpaceEvenly"> <div style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="83" data-offset-y="137" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentSpaceEvenly"> <div class="offsets" style="grid-column: 2 / 3; grid-row: 2 / 3;" data-offset-x="83" data-offset-y="137" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentStart"> <div style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="300" data-offset-y="0" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentStart"> <div class="offsets" style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="300" data-offset-y="0" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentCenter"> <div style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="175" data-offset-y="0" data-expected-width="225" data-expected-height="120"> </div> </div> <div class="grid directionRTL contentCenter"> <div class="offsets" style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="175" data-offset-y="0" data-expected-width="225" data-expected-height="120"> </div> </div> <div class="grid directionRTL contentEnd"> <div style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="50" data-offset-y="0" data-expected-width="350" data-expected-height="170"> </div> </div> <div class="grid directionRTL contentEnd"> <div class="offsets" style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="50" data-offset-y="0" data-expected-width="350" data-expected-height="170"> </div> </div> <div class="grid directionRTL contentSpaceBetween"> <div style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="300" data-offset-y="0" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentSpaceBetween"> <div class="offsets" style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="300" data-offset-y="0" data-expected-width="100" data-expected-height="70"> </div> </div> <div class="grid directionRTL contentSpaceAround"> <div style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="238" data-offset-y="0" data-expected-width="162" data-expected-height="95"> </div> </div> <div class="grid directionRTL contentSpaceAround"> <div class="offsets" style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="238" data-offset-y="0" data-expected-width="162" data-expected-height="95"> </div> </div> <div class="grid directionRTL contentSpaceEvenly"> <div style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="217" data-offset-y="0" data-expected-width="183" data-expected-height="103"> </div> </div> <div class="grid directionRTL contentSpaceEvenly"> <div class="offsets" style="grid-column: auto / 2; grid-row: auto / 2;" data-offset-x="217" data-offset-y="0" data-expected-width="183" data-expected-height="103"> </div> </div> <div class="grid directionRTL contentStart"> <div style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="70" data-expected-width="300" data-expected-height="130"> </div> </div> <div class="grid directionRTL contentStart"> <div class="offsets" style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="70" data-expected-width="300" data-expected-height="130"> </div> </div> <div class="grid directionRTL contentCenter"> <div style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="120" data-expected-width="175" data-expected-height="80"> </div> </div> <div class="grid directionRTL contentCenter"> <div class="offsets" style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="120" data-expected-width="175" data-expected-height="80"> </div> </div> <div class="grid directionRTL contentEnd"> <div style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="170" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentEnd"> <div class="offsets" style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="170" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentSpaceBetween"> <div style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="170" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentSpaceBetween"> <div class="offsets" style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="170" data-expected-width="50" data-expected-height="30"> </div> </div> <div class="grid directionRTL contentSpaceAround"> <div style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="145" data-expected-width="113" data-expected-height="55"> </div> </div> <div class="grid directionRTL contentSpaceAround"> <div class="offsets" style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="145" data-expected-width="113" data-expected-height="55"> </div> </div> <div class="grid directionRTL contentSpaceEvenly"> <div style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="137" data-expected-width="133" data-expected-height="63"> </div> </div> <div class="grid directionRTL contentSpaceEvenly"> <div class="offsets" style="grid-column: 2 / auto; grid-row: 2 / auto;" data-offset-x="0" data-offset-y="137" data-expected-width="133" data-expected-height="63"> </div> </div> <div class="grid directionRTL contentStart"> <div style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentStart"> <div class="offsets" style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentCenter"> <div style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentCenter"> <div class="offsets" style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentEnd"> <div style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentEnd"> <div class="offsets" style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentSpaceBetween"> <div style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentSpaceBetween"> <div class="offsets" style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentSpaceAround"> <div style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentSpaceAround"> <div class="offsets" style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentSpaceEvenly"> <div style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> <div class="grid directionRTL contentSpaceEvenly"> <div class="offsets" style="grid-column: auto / auto; grid-row: auto / auto;" data-offset-x="0" data-offset-y="0" data-expected-width="400" data-expected-height="200"> </div> </div> </body> </html>
danakj/chromium
third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-content-alignment-rtl.html
HTML
bsd-3-clause
14,883
<!DOCTYPE html> <html> <style> div { background-image: url("resources/red-at-12-oclock-with-color-profile.jpg"); background-size: 50% 50%; background-repeat: repeat; display: inline-block; height: 376px; width: 48%; } div, img { margin: 5px; } </style> <body> <!-- The _blue_ sector of the <img> image should be at 12 o'clock. --> <img width="48%" src="resources/red-at-12-oclock-with-color-profile.jpg"> <!-- Same for the <div> background image: should be at 12 o'clock. --> <div></div> </body> </html>
chromium/chromium
third_party/blink/web_tests/images/color-profile-background-image-repeat.html
HTML
bsd-3-clause
549
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <script src="../../resources/js-test.js"></script> </head> <body> <p id="description"></p> <div id="console"></div> <script src="resources/ie-test-pre.js"></script> <script src="TestCases/15.4.4.14-2-10.js"></script> <script src="resources/ie-test-post.js"></script> </body> </html>
nwjs/blink
LayoutTests/ietestcenter/Javascript/15.4.4.14-2-10.html
HTML
bsd-3-clause
344
<!doctype html> <script src="../../resources/testharness.js"></script> <script src="../../resources/testharnessreport.js"></script> <script src="../assert_selection.js"></script> <script> selection_test( [ '<div contenteditable>', 'abc', '<b contenteditable="false" id="base">DEF</b>', 'ghi<span id="extent">JKL</span>mno', '</div>', ], selection => selection.setBaseAndExtent( selection.document.getElementById('base'), 0, selection.document.getElementById('extent'), 0), [ '<div contenteditable>', 'abc', // Note: WebKit yields "^DEF|". '<b contenteditable="false" id="base">^DEF</b>', 'ghi<span id="extent">|JKL</span>mno', '</div>', ], 'Select non-editable to editable'); </script>
scheib/chromium
third_party/blink/web_tests/editing/selection/mixed-editability-2.html
HTML
bsd-3-clause
772
{% extends 'lookup/base.html' %} {% block breadcrumbs %} {% endblock %} {% block content %} {% include 'lookup/includes/group_search.html' %} <section class="island c"> <h1> {{ _('Group Lookup results for') }} <a href="{{ url('lookup.group_summary', group.id) }}" title="{{ _('Group Summary') }}">{{ group.name }}</a> ({{ group.pk }}) </h1> <section id="prose"> <h2>{{ _('Group Details') }}</h2> <dl> <dt>{{ _('Name') }}</dt> <dd>{{ group.name }}</dd> <dt>{{ _('Rules') }}</dt> <dd>{{ group.rules }}</dd> <dt>{{ _('Notes') }}</dt> <dd>{{ group.notes }}</dd> <dt>{{ _('Restricted (no API changes possible)') }}</dt> <dd>{{ group.restricted }}</dd> </dl> <h2>{{ _('Group Members') }}</h2> <dl class="group-memberships"> {% for user in group.users.all() %} <dd> <a href="{{ url('lookup.user_summary', user.pk) }}">{{ user.name }}</a> </dd> {% endfor %} </dl> </section> </section> {% endblock %}
tsl143/zamboni
mkt/lookup/templates/lookup/group_summary.html
HTML
bsd-3-clause
1,105
<!doctype html> <head> <meta name="timeout" content="long"></meta> <script src = "/resources/testharness.js"></script> <script src = "/resources/testharnessreport.js"></script> <script src = "/resources/get-host-info.js?pipe=sub"></script> <script src = "/serviceworker/resources/test-helpers.js"></script> <script src = "/fetch/resources/fetch-test-options.js"></script> <script src = "/fetch/resources/fetch-test-helpers.js"></script> <script src = "/fetch/resources/thorough-util.js"></script> <script> function onlyOnServiceWorkerProxiedTest(checkFuncs) { return checkFuncs; } </script> <script src = "/fetch/script-tests/thorough/redirect-nocors.js?-base-https-other-https"></script> </head> <body> <script> var options = get_thorough_test_options(); function start(t) { executeServiceWorkerProxiedTests(TEST_TARGETS, options); t.done(); } function init(test) { return login(test, options['BASE_HTTP_ORIGIN'], options['OTHER_HTTP_ORIGIN']) .then(function() { return login(test, options['BASE_HTTPS_ORIGIN'], options['OTHER_HTTPS_ORIGIN']); }); } </script> <script src = "/fetch/resources/init.js"></script> </body>
scheib/chromium
third_party/blink/web_tests/http/tests/fetch/serviceworker-proxied/thorough/redirect-nocors-base-https-other-https.html
HTML
bsd-3-clause
1,152
<!doctype html> <!-- * Copyright 2017 The Chromium Authors. All rights reserved. Use of this * source code is governed by a BSD-style license that can be found in the * LICENSE file. --> <!-- This file is loaded from webview accessible resource --> <html> <head> <title>A guest page.</title> </head> <body style="padding: 0; margin: 0;"> <script> this.location = this.location.href + "#foo" </script> </body> </html>
chromium/chromium
extensions/test/data/web_view/apitest/guest_same_document_navigation.html
HTML
bsd-3-clause
431
<!-- @license Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> <p><strong>hello</strong> <em>world</em></p> <ul> <li>hello world</li> </ul> <p><strong>hello</strong> <em>world</em></p> <ul> <li>hello world</li> </ul> <p><strong>hello</strong> <em>world</em></p> <ul> <li>Hello world</li> </ul> <p><strong>hello</strong> <em>world</em></p> <ul> <li>hello world</li> </ul>
mehrdadrafiee/mkaminsky11.github.io
poly/components/core-home-page-dev/components/marked/test/tests/tricky_list.html
HTML
mit
856
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_29) on Fri Mar 16 19:11:00 CET 2012 --> <TITLE> E-Index </TITLE> <META NAME="date" CONTENT="2012-03-16"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="E-Index"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../io/socket/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="index-3.html"><B>PREV LETTER</B></A>&nbsp; &nbsp;<A HREF="index-5.html"><B>NEXT LETTER</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?index-filesindex-4.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="index-4.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <A HREF="index-1.html">A</A> <A HREF="index-2.html">C</A> <A HREF="index-3.html">D</A> <A HREF="index-4.html">E</A> <A HREF="index-5.html">F</A> <A HREF="index-6.html">G</A> <A HREF="index-7.html">I</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">N</A> <A HREF="index-10.html">O</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">U</A> <A HREF="index-17.html">W</A> <A HREF="index-18.html">X</A> <HR> <A NAME="_E_"><!-- --></A><H2> <B>E</B></H2> <DL> <DT><A HREF="../io/socket/IOConnection.html#emit(io.socket.SocketIO, java.lang.String, io.socket.IOAcknowledge, java.lang.Object...)"><B>emit(SocketIO, String, IOAcknowledge, Object...)</B></A> - Method in class io.socket.<A HREF="../io/socket/IOConnection.html" title="class in io.socket">IOConnection</A> <DD>emits an event from <A HREF="../io/socket/SocketIO.html" title="class in io.socket"><CODE>SocketIO</CODE></A> to the <A HREF="../io/socket/IOTransport.html" title="interface in io.socket"><CODE>IOTransport</CODE></A>. <DT><A HREF="../io/socket/SocketIO.html#emit(java.lang.String, java.lang.Object...)"><B>emit(String, Object...)</B></A> - Method in class io.socket.<A HREF="../io/socket/SocketIO.html" title="class in io.socket">SocketIO</A> <DD>Emits an event to the Socket.IO server. <DT><A HREF="../io/socket/SocketIO.html#emit(java.lang.String, io.socket.IOAcknowledge, java.lang.Object...)"><B>emit(String, IOAcknowledge, Object...)</B></A> - Method in class io.socket.<A HREF="../io/socket/SocketIO.html" title="class in io.socket">SocketIO</A> <DD>Emits an event to the Socket.IO server. <DT><A HREF="../io/socket/IOConnection.html#error(io.socket.SocketIOException)"><B>error(SocketIOException)</B></A> - Method in class io.socket.<A HREF="../io/socket/IOConnection.html" title="class in io.socket">IOConnection</A> <DD>Populates an error to the connected <A HREF="../io/socket/IOCallback.html" title="interface in io.socket"><CODE>IOCallback</CODE></A>s and shuts down. </DL> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../io/socket/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="index-3.html"><B>PREV LETTER</B></A>&nbsp; &nbsp;<A HREF="index-5.html"><B>NEXT LETTER</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?index-filesindex-4.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="index-4.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <A HREF="index-1.html">A</A> <A HREF="index-2.html">C</A> <A HREF="index-3.html">D</A> <A HREF="index-4.html">E</A> <A HREF="index-5.html">F</A> <A HREF="index-6.html">G</A> <A HREF="index-7.html">I</A> <A HREF="index-8.html">L</A> <A HREF="index-9.html">N</A> <A HREF="index-10.html">O</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">Q</A> <A HREF="index-13.html">R</A> <A HREF="index-14.html">S</A> <A HREF="index-15.html">T</A> <A HREF="index-16.html">U</A> <A HREF="index-17.html">W</A> <A HREF="index-18.html">X</A> <HR> </BODY> </HTML>
yunba/yunba-socket.io-java-sdk
doc/index-files/index-4.html
HTML
mit
7,598
<div class="o_forum b_floatbox"> <div class="b_floatbox"> <div class="o_forum_switch b_float_right"> <form method="post" action="$r.formURIbg("viewswitch")" $r.bgTarget()> $r.translate("viewswitch.title"): #if($threadview) <input class="b_radio" type="radio" name="threadview" value="true" checked="checked" onclick="form.submit()" onkeypress="form.submit()" />$r.translate("viewswitch.threadview") <input class="b_radio" type="radio" name="threadview" value="false" onclick="form.submit()" onkeypress="form.submit()" />$r.translate("viewswitch.messageview") #else <input class="b_radio" type="radio" name="threadview" value="true" onclick="form.submit()" onkeypress="form.submit()" />$r.translate("viewswitch.threadview") <input class="b_radio" type="radio" name="threadview" value="false" checked="checked" onclick="form.submit()" onkeypress="form.submit()" />$r.translate("viewswitch.messageview") #end </form> </div> <h4>$r.translate("header.msgdetails")</h4> </div> #if ($security.mayArchiveForum()) $r.render("archive.thread") #end #foreach ($message in $messages) if(!$isClosed && $security.mayEditMessageAsModerator() && $message.get("isThreadtop")) $r.render("close.thread") #elseif($security.mayEditMessageAsModerator() && $message.get("isThreadtop")) $r.render("open.thread") #end #if(!$isHidden && $security.mayEditMessageAsModerator() && $message.get("isThreadtop")) $r.render("hide.thread") #elseif($security.mayEditMessageAsModerator() && $message.get("isThreadtop")) $r.render("show.thread") #end #set( $count = $velocityCount - 1) <div class="o_forum_message #if($message.get("newMessage")) o_forum_message_new #end b_clearfix" > <div class="o_forum_message_header_wrapper" > <div class="o_forum_message_header b_clearfix"> <div class="o_forum_message_title"> <div class="b_float_right b_small" #if($message.get("newMessage")) title="$r.translateInAttribute("message.unread")" #end> $r.translate("msg.creationdate") $message.get("date") </div> <strong> $r.escapeHtml($message.get("title")) </strong> </div> </div> </div> <div class="o_forum_message_content_wrapper "> <div class="o_forum_message_content b_clearfix "> <div class="o_forum_message_creator b_float_left"> <strong>$message.get("firstname") $message.get("lastname")</strong> <br /> ($message.get("username")) <br /> <br /> $r.render($message.get("portraitComponentVCName")) </div> <div class="o_forum_message_body"> <div class="b_clearfix b_floatscrollbox"> $message.get("body") </div> <!-- #if ($message.get("hasAttachments")) <div class="o_forum_message_attachments"> <strong>$r.translate("attachments"):</strong> <ul> #foreach( $attachment in $message.get("attachments") ) #set($fname = $attachment.getName()) <li><a href="$r.commandURI("attachment_${velocityCount}_${count}")$fname" target="_blank" class="b_filetype_file $myself.renderFileIconCssClass($fname)">$fname</a></li> #end </ul> </div> #end --> #if($message.get("isModified")) <div class="o_forum_message_modified"> $r.translate("msg.modified"): $message.get("modfname") $message.get("modlname") $message.get("modified") </div> #else <div style="clear:both; height: 1px">&nbsp;</div> #end </div> </div> </div> <div class="o_forum_message_footer_wrapper b_clearfix"> <div class="o_forum_message_footer"> <div class="o_forum_message_actions"> #if ((($message.get("nOfCh") == 0 && $message.get("uIsMsgC") == true) || ($security.mayDeleteMessageAsModerator())) && !$message.get("isThreadClosed")) $r.render("dl_$message.get("id")") #end #if ((($message.get("nOfCh") == 0 && $message.get("uIsMsgC") == true) || ($security.mayEditMessageAsModerator())) && !$message.get("isThreadClosed")) $r.render("ed_$message.get("id")") #end #if ((($message.get("nOfCh") == 0 && $message.get("uIsMsgC") == true) || ($security.mayEditMessageAsModerator())) && !$message.get("isThreadClosed")) #if ($message.get("hasAttachments")) $r.render("rm_$message.get("id")") #end $r.render("up_$message.get("id")") #end #if ($security.mayReplyMessage() && !$message.get("isThreadClosed")) $r.render("qt_$message.get("id")") $r.render("rp_$message.get("id")") #end #if ($security.mayEditMessageAsModerator() && !$message.get("isThreadtop") && !$message.get("isThreadClosed")) $r.render("split_$message.get("id")") #end </div> </div> </div> </div> #end #if(!$threadview) $r.render("singleThreadTable") #end </div> ## END of o_forum
RLDevOps/Demo
target/classes/org/olat/test/guidemo/weblog/_content/threadview.html
HTML
apache-2.0
4,824
<html> <body> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script src="springy.js"></script> <script src="springyui.js"></script> <script> var graph = new Springy.Graph(); graph.addNodes('Dennis', 'Michael', 'Jessica', 'Timothy', 'Barbara') graph.addNodes('Amphitryon', 'Alcmene', 'Iphicles', 'Heracles'); graph.addEdges( ['Dennis', 'Michael', {color: '#00A0B0', label: 'Foo bar'}], ['Michael', 'Dennis', {color: '#6A4A3C'}], ['Michael', 'Jessica', {color: '#CC333F'}], ['Jessica', 'Barbara', {color: '#EB6841'}], ['Michael', 'Timothy', {color: '#EDC951'}], ['Amphitryon', 'Alcmene', {color: '#7DBE3C'}], ['Alcmene', 'Amphitryon', {color: '#BE7D3C'}], ['Amphitryon', 'Iphicles'], ['Amphitryon', 'Heracles'], ['Barbara', 'Timothy', {color: '#6A4A3C'}] ); jQuery(function(){ var springy = jQuery('#springydemo').springy({ graph: graph }); }); </script> <canvas id="springydemo" width="640" height="480" /> </body> </html>
b-hub/autonomacy
dhotson-springy/demo-simple.html
HTML
apache-2.0
995
<!DOCTYPE html> <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> <style type="text/css"> .highlight { display: block; background-color: #ddd; } </style> <script type="text/javascript"> function highlight() { document.getElementById(location.hash.replace(/#/, "")).className = "highlight"; } </script> </head> <body onload="prettyPrint(); highlight();"> <pre class="prettyprint lang-js"><span id='Ext-app-Application'>/** </span> * Represents an Ext JS 4 application, which is typically a single page app using a {@link Ext.container.Viewport Viewport}. * A typical Ext.app.Application might look like this: * * Ext.application({ * name: 'MyApp', * launch: function() { * Ext.create('Ext.container.Viewport', { * items: { * html: 'My App' * } * }); * } * }); * * This does several things. First it creates a global variable called 'MyApp' - all of your Application's classes (such * as its Models, Views and Controllers) will reside under this single namespace, which drastically lowers the chances * of colliding global variables. * * When the page is ready and all of your JavaScript has loaded, your Application's {@link #launch} function is called, * at which time you can run the code that starts your app. Usually this consists of creating a Viewport, as we do in * the example above. * * # Telling Application about the rest of the app * * Because an Ext.app.Application represents an entire app, we should tell it about the other parts of the app - namely * the Models, Views and Controllers that are bundled with the application. Let's say we have a blog management app; we * might have Models and Controllers for Posts and Comments, and Views for listing, adding and editing Posts and Comments. * Here's how we'd tell our Application about all these things: * * Ext.application({ * name: 'Blog', * models: ['Post', 'Comment'], * controllers: ['Posts', 'Comments'], * * launch: function() { * ... * } * }); * * Note that we didn't actually list the Views directly in the Application itself. This is because Views are managed by * Controllers, so it makes sense to keep those dependencies there. The Application will load each of the specified * Controllers using the pathing conventions laid out in the [application architecture guide][mvc] - * in this case expecting the controllers to reside in `app/controller/Posts.js` and * `app/controller/Comments.js`. In turn, each Controller simply needs to list the Views it uses and they will be * automatically loaded. Here's how our Posts controller like be defined: * * Ext.define('MyApp.controller.Posts', { * extend: 'Ext.app.Controller', * views: ['posts.List', 'posts.Edit'], * * //the rest of the Controller here * }); * * Because we told our Application about our Models and Controllers, and our Controllers about their Views, Ext JS will * automatically load all of our app files for us. This means we don't have to manually add script tags into our html * files whenever we add a new class, but more importantly it enables us to create a minimized build of our entire * application using the Ext JS 4 SDK Tools. * * For more information about writing Ext JS 4 applications, please see the * [application architecture guide][mvc]. * * [mvc]: #!/guide/application_architecture * * @docauthor Ed Spencer */ Ext.define('Ext.app.Application', { extend: 'Ext.app.Controller', requires: [ 'Ext.ModelManager', 'Ext.data.Model', 'Ext.data.StoreManager', 'Ext.tip.QuickTipManager', 'Ext.ComponentManager', 'Ext.app.EventBus' ], <span id='Ext-app-Application-cfg-name'> /** </span> * @cfg {String} name The name of your application. This will also be the namespace for your views, controllers * models and stores. Don't use spaces or special characters in the name. */ <span id='Ext-app-Application-cfg-scope'> /** </span> * @cfg {Object} scope The scope to execute the {@link #launch} function in. Defaults to the Application * instance. */ scope: undefined, <span id='Ext-app-Application-cfg-enableQuickTips'> /** </span> * @cfg {Boolean} enableQuickTips True to automatically set up Ext.tip.QuickTip support. */ enableQuickTips: true, <span id='Ext-app-Application-cfg-defaultUrl'> /** </span> * @cfg {String} defaultUrl When the app is first loaded, this url will be redirected to. */ <span id='Ext-app-Application-cfg-appFolder'> /** </span> * @cfg {String} appFolder The path to the directory which contains all application's classes. * This path will be registered via {@link Ext.Loader#setPath} for the namespace specified in the {@link #name name} config. */ appFolder: 'app', <span id='Ext-app-Application-cfg-autoCreateViewport'> /** </span> * @cfg {Boolean} autoCreateViewport True to automatically load and instantiate AppName.view.Viewport * before firing the launch function. */ autoCreateViewport: false, <span id='Ext-app-Application-method-constructor'> /** </span> * Creates new Application. * @param {Object} [config] Config object. */ constructor: function(config) { config = config || {}; Ext.apply(this, config); var requires = config.requires || []; Ext.Loader.setPath(this.name, this.appFolder); if (this.paths) { Ext.Object.each(this.paths, function(key, value) { Ext.Loader.setPath(key, value); }); } this.callParent(arguments); this.eventbus = Ext.create('Ext.app.EventBus'); var controllers = Ext.Array.from(this.controllers), ln = controllers &amp;&amp; controllers.length, i, controller; this.controllers = Ext.create('Ext.util.MixedCollection'); if (this.autoCreateViewport) { requires.push(this.getModuleClassName('Viewport', 'view')); } for (i = 0; i &lt; ln; i++) { requires.push(this.getModuleClassName(controllers[i], 'controller')); } Ext.require(requires); Ext.onReady(function() { for (i = 0; i &lt; ln; i++) { controller = this.getController(controllers[i]); controller.init(this); } this.onBeforeLaunch.call(this); }, this); }, control: function(selectors, listeners, controller) { this.eventbus.control(selectors, listeners, controller); }, <span id='Ext-app-Application-property-launch'> /** </span> * Called automatically when the page has completely loaded. This is an empty function that should be * overridden by each application that needs to take action on page load * @property launch * @type Function * @param {String} profile The detected {@link #profiles application profile} * @return {Boolean} By default, the Application will dispatch to the configured startup controller and * action immediately after running the launch function. Return false to prevent this behavior. */ launch: Ext.emptyFn, <span id='Ext-app-Application-method-onBeforeLaunch'> /** </span> * @private */ onBeforeLaunch: function() { if (this.enableQuickTips) { Ext.tip.QuickTipManager.init(); } if (this.autoCreateViewport) { this.getView('Viewport').create(); } this.launch.call(this.scope || this); this.launched = true; this.fireEvent('launch', this); this.controllers.each(function(controller) { controller.onLaunch(this); }, this); }, getModuleClassName: function(name, type) { var namespace = Ext.Loader.getPrefix(name); if (namespace.length &gt; 0 &amp;&amp; namespace !== name) { return name; } return this.name + '.' + type + '.' + name; }, getController: function(name) { var controller = this.controllers.get(name); if (!controller) { controller = Ext.create(this.getModuleClassName(name, 'controller'), { application: this, id: name }); this.controllers.add(controller); } return controller; }, getStore: function(name) { var store = Ext.StoreManager.get(name); if (!store) { store = Ext.create(this.getModuleClassName(name, 'store'), { storeId: name }); } return store; }, getModel: function(model) { model = this.getModuleClassName(model, 'model'); return Ext.ModelManager.getModel(model); }, getView: function(view) { view = this.getModuleClassName(view, 'view'); return Ext.ClassManager.get(view); } }); </pre> </body> </html>
ozoneplatform/owf-framework
web-app/js-lib/ext-4.0.7/docs/source/Application.html
HTML
apache-2.0
9,357
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> <title>Apache CloudStack | The Power Behind Your Cloud</title> </head> <body> <div id="insidetopbg"> <div id="inside_wrapper"> <div class="uppermenu_panel"> <div class="uppermenu_box"></div> </div> <div id="main_master"> <div id="inside_header"> <div class="header_top"> <a class="cloud_logo" href="http://cloudstack.org"></a> <div class="mainemenu_panel"></div> </div> </div> <div id="main_content"> <div class="inside_apileftpanel"> <div class="inside_contentpanel" style="width:930px;"> <div class="api_titlebox"> <div class="api_titlebox_left"> <span> Apache CloudStack v4.2.0 Root Admin API Reference </span> <p></p> <h1>createRemoteAccessVpn</h1> <p>Creates a l2tp/ipsec remote access vpn</p> </div> <div class="api_titlebox_right"> <a class="api_backbutton" href="../TOC_Root_Admin.html"></a> </div> </div> <div class="api_tablepanel"> <h2>Request parameters</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Parameter Name</strong></td><td style="width:500px;">Description</td><td style="width:180px;">Required</td> </tr> <tr> <td style="width:200px;"><strong>publicipid</strong></td><td style="width:500px;"><strong>public ip address id of the vpn server</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> <tr> <td style="width:200px;"><i>account</i></td><td style="width:500px;"><i>an optional account for the VPN. Must be used with domainId.</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>domainid</i></td><td style="width:500px;"><i>an optional domainId for the VPN. If the account parameter is used, domainId must also be used.</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>iprange</i></td><td style="width:500px;"><i>the range of ip addresses to allocate to vpn clients. The first ip in the range will be taken by the vpn server</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>openfirewall</i></td><td style="width:500px;"><i>if true, firewall rule for source/end pubic port is automatically created; if false - firewall rule has to be created explicitely. Has value true by default</i></td><td style="width:180px;"><i>false</i></td> </tr> </table> </div> <div class="api_tablepanel"> <h2>Response Tags</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Response Name</strong></td><td style="width:500px;">Description</td> </tr> <tr> <td style="width:200px;"><strong>id</strong></td><td style="width:500px;">the id of the remote access vpn</td> </tr> <tr> <td style="width:200px;"><strong>account</strong></td><td style="width:500px;">the account of the remote access vpn</td> </tr> <tr> <td style="width:200px;"><strong>domain</strong></td><td style="width:500px;">the domain name of the account of the remote access vpn</td> </tr> <tr> <td style="width:200px;"><strong>domainid</strong></td><td style="width:500px;">the domain id of the account of the remote access vpn</td> </tr> <tr> <td style="width:200px;"><strong>iprange</strong></td><td style="width:500px;">the range of ips to allocate to the clients</td> </tr> <tr> <td style="width:200px;"><strong>presharedkey</strong></td><td style="width:500px;">the ipsec preshared key</td> </tr> <tr> <td style="width:200px;"><strong>project</strong></td><td style="width:500px;">the project name of the vpn</td> </tr> <tr> <td style="width:200px;"><strong>projectid</strong></td><td style="width:500px;">the project id of the vpn</td> </tr> <tr> <td style="width:200px;"><strong>publicip</strong></td><td style="width:500px;">the public ip address of the vpn server</td> </tr> <tr> <td style="width:200px;"><strong>publicipid</strong></td><td style="width:500px;">the public ip address of the vpn server</td> </tr> <tr> <td style="width:200px;"><strong>state</strong></td><td style="width:500px;">the state of the rule</td> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> <div id="comments_thread"> <script type="text/javascript" src="https://comments.apache.org/show_comments.lua?site=test" async="true"></script> <noscript> <iframe width="930" height="500" src="https://comments.apache.org/iframe.lua?site=test&amp;page=4.2.0/rootadmin"></iframe> </noscript> </div> <div id="footer_mainmaster"> <p>Copyright &copy; 2013 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0.</a> <br> Apache, CloudStack, Apache CloudStack, the Apache CloudStack logo, the CloudMonkey logo and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </div> </div> </body> </html>
resmo/cloudstack-www
source/api/apidocs-4.2/root_admin/createRemoteAccessVpn.html
HTML
apache-2.0
5,111
<!DOCTYPE html> <!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. --> <title>OffscreenCanvas test: 2d.composite.uncovered.image.source-in</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/html/canvas/resources/canvas-tests.js"></script> <h1>2d.composite.uncovered.image.source-in</h1> <p class="desc">drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</p> <script> var t = async_test("drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged."); var t_pass = t.done.bind(t); var t_fail = t.step_func(function(reason) { throw reason; }); t.step(function() { var offscreenCanvas = new OffscreenCanvas(100, 50); var ctx = offscreenCanvas.getContext('2d'); ctx.fillStyle = 'rgba(0, 255, 255, 0.5)'; ctx.fillRect(0, 0, 100, 50); ctx.globalCompositeOperation = 'source-in'; var promise = new Promise(function(resolve, reject) { var xhr = new XMLHttpRequest(); xhr.open("GET", '/images/yellow.png'); xhr.responseType = 'blob'; xhr.send(); xhr.onload = function() { resolve(xhr.response); }; }); promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 40, 40, 10, 10, 40, 50, 10, 10); _assertPixelApprox(offscreenCanvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5); _assertPixelApprox(offscreenCanvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5); }, t_fail); }).then(t_pass, t_fail); }); </script>
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/compositing/2d.composite.uncovered.image.source-in.html
HTML
bsd-3-clause
1,626
<!DOCTYPE html> <script src="../resources/testharness.js"></script> <script src="../resources/testharnessreport.js"></script> <script src="resources/test-helpers.js"></script> <script> async_test(function(t) { var scope = 'resources/scope/installing-waiting-active-after-registration'; var worker_url = 'resources/empty-worker.js'; var expected_url = normalizeURL(worker_url); service_worker_unregister_and_register(t, worker_url, scope) .then(function(r) { registration = r; assert_equals(registration.installing.scriptURL, expected_url, 'installing before updatefound'); assert_equals(registration.waiting, null, 'waiting before updatefound'); assert_equals(registration.active, null, 'active before updatefound'); return wait_for_update(t, registration); }) .then(function(worker) { assert_equals(registration.installing.scriptURL, expected_url, 'installing after updatefound'); assert_equals(registration.waiting, null, 'waiting after updatefound'); assert_equals(registration.active, null, 'active after updatefound'); return wait_for_state(t, registration.installing, 'installed'); }) .then(function() { assert_equals(registration.installing, null, 'installing after installed'); assert_equals(registration.waiting.scriptURL, expected_url, 'waiting after installed'); assert_equals(registration.active, null, 'active after installed'); return wait_for_state(t, registration.waiting, 'activated'); }) .then(function() { assert_equals(registration.installing, null, 'installing after activated'); assert_equals(registration.waiting, null, 'waiting after activated'); assert_equals(registration.active.scriptURL, expected_url, 'active after activated'); return Promise.all([ wait_for_state(t, registration.active, 'redundant'), registration.unregister() ]); }) .then(function() { assert_equals(registration.installing, null, 'installing after redundant'); assert_equals(registration.waiting, null, 'waiting after redundant'); // According to spec, Clear Registration runs Update State which is // immediately followed by setting active to null, which means by the // time the event loop turns and the Promise for statechange is // resolved, this will be gone. assert_equals(registration.active, null, 'active should be null after redundant'); t.done(); }) .catch(unreached_rejection(t)); }, 'installing/waiting/active after registration'); </script>
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/http/tests/serviceworker/registration-service-worker-attributes.html
HTML
bsd-3-clause
3,098
FOO<script>'<!-'</script>BAR
danpomerantz/buses
node_modules/zombie/node_modules/html5/data/tree-construction/scriptdata01.dat-9/input.html
HTML
bsd-3-clause
29
<!DOCTYPE html> <!-- This test should not be upstreamed due to shift-reload behavior is not defined by spec. --> <title>Service Worker: force-refresh ready test</title> <script src="../../resources/testharness.js"></script> <script src="../../resources/testharnessreport.js"></script> <script src="../resources/test-helpers.js"></script> <body> <script> promise_test(function(t) { var scope = '../resources/blank.html'; var script_url = '../resources/empty-worker.js'; var frame; return service_worker_unregister_and_register(t, script_url, scope) .then(function(registration) { return wait_for_state(t, registration.installing, 'activated'); }) .then(function() { return with_iframe(scope); }) .then(function(f) { frame = f; return new Promise(function(resolve) { frame.onload = t.step_func(function() { frame.contentWindow.navigator.serviceWorker.ready .then(function() { resolve(); }); }); frame.contentWindow.internals.forceReload(true); }); }) .then(function() { frame.remove(); return service_worker_unregister_and_done(t, scope); }); }, 'Test ready promise for force-refreshed frame'); </script> </body>
danakj/chromium
third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/force-refresh-ready.html
HTML
bsd-3-clause
1,387
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Global revolutions</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../../boost_units/Reference.html#header.boost.units.systems.angle.revolutions_hpp" title="Header &lt;boost/units/systems/angle/revolutions.hpp&gt;"> <link rel="prev" href="revolution.html" title="Global revolution"> <link rel="next" href="../celsius/degree.html" title="Global degree"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> <td align="center"><a href="../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="revolution.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../boost_units/Reference.html#header.boost.units.systems.angle.revolutions_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../celsius/degree.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.units.revolution.revolutions"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Global revolutions</span></h2> <p>boost::units::revolution::revolutions</p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../boost_units/Reference.html#header.boost.units.systems.angle.revolutions_hpp" title="Header &lt;boost/units/systems/angle/revolutions.hpp&gt;">boost/units/systems/angle/revolutions.hpp</a>&gt; </span><span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">plane_angle</span> revolutions<span class="special">;</span></pre></div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2008 Matthias Christian Schabel<br>Copyright &#169; 2007-2010 Steven Watanabe<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="revolution.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../boost_units/Reference.html#header.boost.units.systems.angle.revolutions_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../celsius/degree.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
mxrrow/zaicoin
src/deps/boost/doc/html/boost/units/revolution/revolutions.html
HTML
mit
3,869
--- layout: default --- <main block="layout"> <div elem="content" mod="entry"> <article role="main" lang="{{ page.language }}"> <h1 block="content" elem="title">{{ page.title | markdownline }}</h1> <div block="content"> {{ content }} </div> </article> </div> <div elem="aside"> <p block="authors" mod="fixed">{% include entry__author.html entry=page %}</p> <p block="entry"> Published on <time datetime="{{ page.date | date: '%Y-%m-%d' }}"> {{ page.date | date: '%-d %B %Y' }} </time> in <a elem="category" href="/{{ page.category }}/"> {{ page.category | capitalize }} </a>. {% include entry__translations.html entry=page %} {% if page.translator %} {% if page.source %}<a elem="link" href="{{ page.source }}">{% endif %} Translated by {{ page.translator }} {% if page.source %}</a>{% endif %}. {% endif %} <a elem="link" href="https://github.com/operasoftware/devopera/edit/master/{{ page.path }}"> Edit this article on GitHub </a>. <small> Licensed under a <a elem="link" href="{{ site.data.licenses[page.license].link }}"> {{ site.data.licenses[page.license].text }} </a> license. </small> </p> {% include tags.html tags=page.tags %} </div> </main>
Jasenpan1987/devopera
_layouts/entry.html
HTML
apache-2.0
1,267
<div class='spinner-container'> <div class='spinner-layer spinner-layer--blue'> <div class='spinner-clipper spinner-clipper--left'> <div class='spinner-circle'></div> </div> <div class='spinner--patch'> <div class='spinner-circle'></div> </div> <div class='spinner-clipper spinner-clipper--right'> <div class='spinner-circle'></div> </div> </div> <div class='spinner-layer spinner-layer--red'> <div class='spinner-clipper spinner-clipper--left'> <div class='spinner-circle'></div> </div> <div class='spinner--patch'> <div class='spinner-circle'></div> </div> <div class='spinner-clipper spinner-clipper--right'> <div class='spinner-circle'></div> </div> </div> <div class='spinner-layer spinner-layer--yellow'> <div class='spinner-clipper spinner-clipper--left'> <div class='spinner-circle'></div> </div> <div class='spinner--patch'> <div class='spinner-circle'></div> </div> <div class='spinner-clipper spinner-clipper--right'> <div class='spinner-circle'></div> </div> </div> <div class='spinner-layer spinner-layer--green'> <div class='spinner-clipper spinner-clipper--left'> <div class='spinner-circle'></div> </div> <div class='spinner--patch'> <div class='spinner-circle'></div> </div> <div class='spinner-clipper spinner-clipper--right'> <div class='spinner-circle'></div> </div> </div> </div>
carlosrojaso/StreamusChromeExtension
src/template/element/spinner.html
HTML
apache-2.0
1,490
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Media Query and Caching</title> <link rel="import" href="../../polymer.html"> </head> <body> <dom-module id="my-element"> <template> <style> :root { --color: orange; } @media(max-width: 800px) { :root { --color: green; } } div { height: 50px; width: 50px; background: var(--color); color: var(--text-color); } :host { display: block; background: blue; height: 100px; --text-color: white; } @media(max-width: 800px) { :host { background: red; } } :host([foo]) { --text-color: black; } :host-context([bar]) { --text-color: lightgray; } </style> <div>text</div> </template> <script> Polymer({ is: 'my-element' }); </script> </dom-module> <div bar> <my-element foo></my-element> </div> </body> </html>
mgiuffrida/polymer
test/smoke/media-query-cache.html
HTML
bsd-3-clause
1,125
{{extend "layout.html"}} {{try:}}{{=sform}} {{except:}}{{pass}} {{include "hrm/org_choose.html"}} {{include "_create.html"}}
ashwyn/eden-message_parser
views/hrm/human_resource_create.html
HTML
mit
125
<!doctype html> <!-- @license Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> <html> <head> <meta charset="utf-8"> <script src="../../../webcomponentsjs/webcomponents-lite.js"></script> <script src="../../../web-component-tester/browser.js"></script> <link rel="import" href="../../polymer.html"> <link rel="import" href="templatizer-elements.html"> </head> <body> <script> suite('templatizer client and template separate', function() { /* global childA childB */ var host; setup(function() { host = document.createElement('x-host'); document.body.appendChild(host); }); teardown(function() { document.body.removeChild(host); }); test('stamped with initial data', function() { host.$.templatizer.go(); assert.ok(childA); assert.equal(childA.outerProp, 'outerProp'); assert.equal(childA.outerObj, host.outerObj); assert.equal(childA.outerObjProp, 'outerObj.prop'); assert.equal(childA.prop, 'prop-a'); assert.equal(childA.obj, host.objA); assert.equal(childA.objProp, 'objA.prop'); }); test('host properties propagated in', function() { host.$.templatizer.go(); assert.ok(childA); host.outerProp = 'outerProp++'; assert.equal(childA.outerProp, 'outerProp++'); host.outerObj = { prop: 'outerObj++.prop' }; assert.equal(childA.outerObj, host.outerObj); assert.equal(childA.outerObjProp, 'outerObj++.prop'); }); test('host paths propagated in', function() { host.$.templatizer.go(); assert.ok(childA); sinon.spy(childA, 'outerObjChanged'); host.set('outerObj.prop', 'outerObj.prop++'); assert.equal(childA.outerObjProp, 'outerObj.prop++'); assert.isTrue(childA.outerObjChanged.calledOnce); assert.equal(childA.outerObjChanged.getCall(0).args[0].path, 'outerObj.prop'); assert.equal(childA.outerObjChanged.getCall(0).args[0].value, 'outerObj.prop++'); }); test('host properties propagated out', function() { host.$.templatizer.go(); assert.ok(childA); childA.outerProp = 'outerProp++'; assert.equal(host.outerProp, 'outerProp++'); childA.outerObj = { prop: 'outerObj++.prop' }; assert.equal(host.outerObj.prop, 'outerObj++.prop'); }); test('host paths propagated out', function() { host.$.templatizer.go(); assert.ok(childA); sinon.spy(host, 'outerObjChanged'); childA.set('outerObj.prop', 'outerObj.prop++'); assert.equal(host.outerObj.prop, 'outerObj.prop++'); assert.isTrue(host.outerObjChanged.calledOnce); assert.equal(host.outerObjChanged.getCall(0).args[0].path, 'outerObj.prop'); assert.equal(host.outerObjChanged.getCall(0).args[0].value, 'outerObj.prop++'); }); test('instance properties propagated in', function() { host.$.templatizer.go(); assert.ok(childA); host.propA = 'prop-a++'; assert.equal(childA.prop, 'prop-a++'); host.objA = { prop: 'objA++.prop' }; assert.equal(childA.obj, host.objA); assert.equal(childA.objProp, 'objA++.prop'); }); test('instance paths propagated in', function() { host.$.templatizer.go(); assert.ok(childA); sinon.spy(childA, 'objChanged'); host.set('objA.prop', 'objA.prop++'); assert.equal(childA.obj.prop, 'objA.prop++'); assert.isTrue(childA.objChanged.calledOnce); assert.equal(childA.objChanged.getCall(0).args[0].path, 'obj.prop'); assert.equal(childA.objChanged.getCall(0).args[0].value, 'objA.prop++'); }); test('instance properties propagated out', function() { host.$.templatizer.go(); assert.ok(childA); childA.prop = 'prop-a++'; assert.equal(host.propA, 'prop-a++'); childA.obj = { prop: 'objA++.prop' }; assert.equal(host.objA.prop, 'objA++.prop'); }); test('instance paths propagated out', function() { host.$.templatizer.go(); assert.ok(childA); sinon.spy(host, 'objAChanged'); childA.set('obj.prop', 'objA.prop++'); assert.equal(host.objA.prop, 'objA.prop++'); assert.isTrue(host.objAChanged.calledOnce); assert.equal(host.objAChanged.getCall(0).args[0].path, 'objA.prop'); assert.equal(host.objAChanged.getCall(0).args[0].value, 'objA.prop++'); }); test('outer & inner props conflict', function() { host.$.templatizer.go(); assert.ok(childA); assert.equal(childA.conflict, 'bar'); host.set('outerInnerConflict.prop', 'foo'); assert.equal(childA.conflict, 'bar'); }); }); suite('templatizer client and template same element (template extension)', function() { var host; setup(function() { host = document.createElement('x-host'); document.body.appendChild(host); }); teardown(function() { document.body.removeChild(host); }); test('stamped with initial data', function() { host.$.templatizee.go(); assert.ok(childB); assert.equal(childB.outerProp, 'outerProp'); assert.equal(childB.outerObj, host.outerObj); assert.equal(childB.outerObjProp, 'outerObj.prop'); assert.equal(childB.prop, 'prop-b'); assert.equal(childB.obj, host.objB); assert.equal(childB.objProp, 'objB.prop'); }); test('host properties propagated in', function() { host.$.templatizee.go(); assert.ok(childB); host.outerProp = 'outerProp++'; assert.equal(childB.outerProp, 'outerProp++'); host.outerObj = { prop: 'outerObj++.prop' }; assert.equal(childB.outerObj, host.outerObj); assert.equal(childB.outerObjProp, 'outerObj++.prop'); }); test('host paths propagated in', function() { host.$.templatizee.go(); assert.ok(childB); sinon.spy(childB, 'outerObjChanged'); host.set('outerObj.prop', 'outerObj.prop++'); assert.equal(childB.outerObjProp, 'outerObj.prop++'); assert.isTrue(childB.outerObjChanged.calledOnce); assert.equal(childB.outerObjChanged.getCall(0).args[0].path, 'outerObj.prop'); assert.equal(childB.outerObjChanged.getCall(0).args[0].value, 'outerObj.prop++'); }); test('host properties propagated out', function() { host.$.templatizee.go(); assert.ok(childB); childB.outerProp = 'outerProp++'; assert.equal(host.outerProp, 'outerProp++'); childB.outerObj = { prop: 'outerObj++.prop' }; assert.equal(host.outerObj.prop, 'outerObj++.prop'); }); test('host paths propagated out', function() { host.$.templatizee.go(); assert.ok(childB); sinon.spy(host, 'outerObjChanged'); childB.set('outerObj.prop', 'outerObj.prop++'); assert.equal(host.outerObj.prop, 'outerObj.prop++'); assert.isTrue(host.outerObjChanged.calledOnce); assert.equal(host.outerObjChanged.getCall(0).args[0].path, 'outerObj.prop'); assert.equal(host.outerObjChanged.getCall(0).args[0].value, 'outerObj.prop++'); }); test('instance properties propagated in', function() { host.$.templatizee.go(); assert.ok(childB); host.propB = 'prop-b++'; assert.equal(childB.prop, 'prop-b++'); host.objB = { prop: 'objB++.prop' }; assert.equal(childB.obj, host.objB); assert.equal(childB.objProp, 'objB++.prop'); }); test('instance paths propagated in', function() { host.$.templatizee.go(); assert.ok(childB); sinon.spy(childB, 'objChanged'); host.set('objB.prop', 'objB.prop++'); assert.equal(childB.obj.prop, 'objB.prop++'); assert.isTrue(childB.objChanged.calledOnce); assert.equal(childB.objChanged.getCall(0).args[0].path, 'obj.prop'); assert.equal(childB.objChanged.getCall(0).args[0].value, 'objB.prop++'); }); test('instance properties propagated out', function() { host.$.templatizee.go(); assert.ok(childB); childB.prop = 'prop-b++'; assert.equal(host.propB, 'prop-b++'); childB.obj = { prop: 'objB++.prop' }; assert.equal(host.objB.prop, 'objB++.prop'); }); test('instance paths propagated out', function() { host.$.templatizee.go(); assert.ok(childB); sinon.spy(host, 'objBChanged'); childB.set('obj.prop', 'objB.prop++'); assert.equal(host.objB.prop, 'objB.prop++'); assert.isTrue(host.objBChanged.calledOnce); assert.equal(host.objBChanged.getCall(0).args[0].path, 'objB.prop'); assert.equal(host.objBChanged.getCall(0).args[0].value, 'objB.prop++'); }); test('outer & inner props conflict', function() { host.$.templatizer.go(); assert.ok(childA); assert.equal(childA.conflict, 'bar'); host.set('outerInnerConflict.prop', 'foo'); assert.equal(childA.conflict, 'bar'); }); test('ensure literals are not forwarded to templates', function() { assert.notOk(host._propertyEffects[33]); assert.notOk(Object.getOwnPropertyDescriptor(Object.getPrototypeOf(host), 33)); }); test('ensure undefined is not set on templatizee', function() { assert.equal(host.$.templatizee[undefined], undefined); }); }); </script> </body> </html>
mgiuffrida/polymer
test/unit/templatizer.html
HTML
bsd-3-clause
9,652
<!-- @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> <link rel="import" href="../../polymer-element.html"> <link rel="import" href="../utils/templatize.html"> <link rel="import" href="../utils/debounce.html"> <link rel="import" href="../utils/flush.html"> <link rel="import" href="../mixins/mutable-data.html"> <script> (function() { 'use strict'; let TemplateInstanceBase = Polymer.TemplateInstanceBase; // eslint-disable-line /** * @constructor * @implements {Polymer_OptionalMutableData} * @extends {Polymer.Element} */ const domRepeatBase = Polymer.OptionalMutableData(Polymer.Element); /** * The `<dom-repeat>` element will automatically stamp and binds one instance * of template content to each object in a user-provided array. * `dom-repeat` accepts an `items` property, and one instance of the template * is stamped for each item into the DOM at the location of the `dom-repeat` * element. The `item` property will be set on each instance's binding * scope, thus templates should bind to sub-properties of `item`. * * Example: * * ```html * <dom-module id="employee-list"> * * <template> * * <div> Employee list: </div> * <dom-repeat items="{{employees}}"> * <template> * <div>First name: <span>{{item.first}}</span></div> * <div>Last name: <span>{{item.last}}</span></div> * </template> * </dom-repeat> * * </template> * * </dom-module> * ``` * * With the following custom element definition: * * ```js * class EmployeeList extends Polymer.Element { * static get is() { return 'employee-list'; } * static get properties() { * return { * employees: { * value() { * return [ * {first: 'Bob', last: 'Smith'}, * {first: 'Sally', last: 'Johnson'}, * ... * ]; * } * } * }; * } * } * ``` * * Notifications for changes to items sub-properties will be forwarded to template * instances, which will update via the normal structured data notification system. * * Mutations to the `items` array itself should be made using the Array * mutation API's on `Polymer.Base` (`push`, `pop`, `splice`, `shift`, * `unshift`), and template instances will be kept in sync with the data in the * array. * * Events caught by event handlers within the `dom-repeat` template will be * decorated with a `model` property, which represents the binding scope for * each template instance. The model is an instance of Polymer.Base, and should * be used to manipulate data on the instance, for example * `event.model.set('item.checked', true);`. * * Alternatively, the model for a template instance for an element stamped by * a `dom-repeat` can be obtained using the `modelForElement` API on the * `dom-repeat` that stamped it, for example * `this.$.domRepeat.modelForElement(event.target).set('item.checked', true);`. * This may be useful for manipulating instance data of event targets obtained * by event handlers on parents of the `dom-repeat` (event delegation). * * A view-specific filter/sort may be applied to each `dom-repeat` by supplying a * `filter` and/or `sort` property. This may be a string that names a function on * the host, or a function may be assigned to the property directly. The functions * should implemented following the standard `Array` filter/sort API. * * In order to re-run the filter or sort functions based on changes to sub-fields * of `items`, the `observe` property may be set as a space-separated list of * `item` sub-fields that should cause a re-filter/sort when modified. If * the filter or sort function depends on properties not contained in `items`, * the user should observe changes to those properties and call `render` to update * the view based on the dependency change. * * For example, for an `dom-repeat` with a filter of the following: * * ```js * isEngineer(item) { * return item.type == 'engineer' || item.manager.type == 'engineer'; * } * ``` * * Then the `observe` property should be configured as follows: * * ```html * <dom-repeat items="{{employees}}" filter="isEngineer" observe="type manager.type"> * ``` * * @customElement * @polymer * @memberof Polymer * @extends {domRepeatBase} * @appliesMixin Polymer.OptionalMutableData * @summary Custom element for stamping instance of a template bound to * items in an array. */ class DomRepeat extends domRepeatBase { // Not needed to find template; can be removed once the analyzer // can find the tag name from customElements.define call static get is() { return 'dom-repeat'; } static get template() { return null; } static get properties() { /** * Fired whenever DOM is added or removed by this template (by * default, rendering occurs lazily). To force immediate rendering, call * `render`. * * @event dom-change */ return { /** * An array containing items determining how many instances of the template * to stamp and that that each template instance should bind to. */ items: { type: Array }, /** * The name of the variable to add to the binding scope for the array * element associated with a given template instance. */ as: { type: String, value: 'item' }, /** * The name of the variable to add to the binding scope with the index * of the instance in the sorted and filtered list of rendered items. * Note, for the index in the `this.items` array, use the value of the * `itemsIndexAs` property. */ indexAs: { type: String, value: 'index' }, /** * The name of the variable to add to the binding scope with the index * of the instance in the `this.items` array. Note, for the index of * this instance in the sorted and filtered list of rendered items, * use the value of the `indexAs` property. */ itemsIndexAs: { type: String, value: 'itemsIndex' }, /** * A function that should determine the sort order of the items. This * property should either be provided as a string, indicating a method * name on the element's host, or else be an actual function. The * function should match the sort function passed to `Array.sort`. * Using a sort function has no effect on the underlying `items` array. */ sort: { type: Function, observer: '__sortChanged' }, /** * A function that can be used to filter items out of the view. This * property should either be provided as a string, indicating a method * name on the element's host, or else be an actual function. The * function should match the sort function passed to `Array.filter`. * Using a filter function has no effect on the underlying `items` array. */ filter: { type: Function, observer: '__filterChanged' }, /** * When using a `filter` or `sort` function, the `observe` property * should be set to a space-separated list of the names of item * sub-fields that should trigger a re-sort or re-filter when changed. * These should generally be fields of `item` that the sort or filter * function depends on. */ observe: { type: String, observer: '__observeChanged' }, /** * When using a `filter` or `sort` function, the `delay` property * determines a debounce time in ms after a change to observed item * properties that must pass before the filter or sort is re-run. * This is useful in rate-limiting shuffling of the view when * item changes may be frequent. */ delay: Number, /** * Count of currently rendered items after `filter` (if any) has been applied. * If "chunking mode" is enabled, `renderedItemCount` is updated each time a * set of template instances is rendered. * */ renderedItemCount: { type: Number, notify: true, readOnly: true }, /** * Defines an initial count of template instances to render after setting * the `items` array, before the next paint, and puts the `dom-repeat` * into "chunking mode". The remaining items will be created and rendered * incrementally at each animation frame therof until all instances have * been rendered. */ initialCount: { type: Number, observer: '__initializeChunking' }, /** * When `initialCount` is used, this property defines a frame rate (in * fps) to target by throttling the number of instances rendered each * frame to not exceed the budget for the target frame rate. The * framerate is effectively the number of `requestAnimationFrame`s that * it tries to allow to actually fire in a given second. It does this * by measuring the time between `rAF`s and continuously adjusting the * number of items created each `rAF` to maintain the target framerate. * Setting this to a higher number allows lower latency and higher * throughput for event handlers and other tasks, but results in a * longer time for the remaining items to complete rendering. */ targetFramerate: { type: Number, value: 20 }, _targetFrameTime: { type: Number, computed: '__computeFrameTime(targetFramerate)' } }; } static get observers() { return [ '__itemsChanged(items.*)' ]; } constructor() { super(); this.__instances = []; this.__limit = Infinity; this.__pool = []; this.__renderDebouncer = null; this.__itemsIdxToInstIdx = {}; this.__chunkCount = null; this.__lastChunkTime = null; this.__sortFn = null; this.__filterFn = null; this.__observePaths = null; this.__ctor = null; this.__isDetached = true; this.template = null; } /** * @return {void} */ disconnectedCallback() { super.disconnectedCallback(); this.__isDetached = true; for (let i=0; i<this.__instances.length; i++) { this.__detachInstance(i); } } /** * @return {void} */ connectedCallback() { super.connectedCallback(); this.style.display = 'none'; // only perform attachment if the element was previously detached. if (this.__isDetached) { this.__isDetached = false; let parent = this.parentNode; for (let i=0; i<this.__instances.length; i++) { this.__attachInstance(i, parent); } } } __ensureTemplatized() { // Templatizing (generating the instance constructor) needs to wait // until ready, since won't have its template content handed back to // it until then if (!this.__ctor) { let template = this.template = /** @type {HTMLTemplateElement} */(this.querySelector('template')); if (!template) { // // Wait until childList changes and template should be there by then let observer = new MutationObserver(() => { if (this.querySelector('template')) { observer.disconnect(); this.__render(); } else { throw new Error('dom-repeat requires a <template> child'); } }); observer.observe(this, {childList: true}); return false; } // Template instance props that should be excluded from forwarding let instanceProps = {}; instanceProps[this.as] = true; instanceProps[this.indexAs] = true; instanceProps[this.itemsIndexAs] = true; this.__ctor = Polymer.Templatize.templatize(template, this, { mutableData: this.mutableData, parentModel: true, instanceProps: instanceProps, /** * @this {this} * @param {string} prop Property to set * @param {*} value Value to set property to */ forwardHostProp: function(prop, value) { let i$ = this.__instances; for (let i=0, inst; (i<i$.length) && (inst=i$[i]); i++) { inst.forwardHostProp(prop, value); } }, /** * @this {this} * @param {Object} inst Instance to notify * @param {string} prop Property to notify * @param {*} value Value to notify */ notifyInstanceProp: function(inst, prop, value) { if (Polymer.Path.matches(this.as, prop)) { let idx = inst[this.itemsIndexAs]; if (prop == this.as) { this.items[idx] = value; } let path = Polymer.Path.translate(this.as, 'items.' + idx, prop); this.notifyPath(path, value); } } }); } return true; } __getMethodHost() { // Technically this should be the owner of the outermost template. // In shadow dom, this is always getRootNode().host, but we can // approximate this via cooperation with our dataHost always setting // `_methodHost` as long as there were bindings (or id's) on this // instance causing it to get a dataHost. return this.__dataHost._methodHost || this.__dataHost; } __functionFromPropertyValue(functionOrMethodName) { if (typeof functionOrMethodName === 'string') { let methodName = functionOrMethodName; let obj = this.__getMethodHost(); return function() { return obj[methodName].apply(obj, arguments); }; } return functionOrMethodName; } __sortChanged(sort) { this.__sortFn = this.__functionFromPropertyValue(sort); if (this.items) { this.__debounceRender(this.__render); } } __filterChanged(filter) { this.__filterFn = this.__functionFromPropertyValue(filter); if (this.items) { this.__debounceRender(this.__render); } } __computeFrameTime(rate) { return Math.ceil(1000/rate); } __initializeChunking() { if (this.initialCount) { this.__limit = this.initialCount; this.__chunkCount = this.initialCount; this.__lastChunkTime = performance.now(); } } __tryRenderChunk() { // Debounced so that multiple calls through `_render` between animation // frames only queue one new rAF (e.g. array mutation & chunked render) if (this.items && this.__limit < this.items.length) { this.__debounceRender(this.__requestRenderChunk); } } __requestRenderChunk() { requestAnimationFrame(()=>this.__renderChunk()); } __renderChunk() { // Simple auto chunkSize throttling algorithm based on feedback loop: // measure actual time between frames and scale chunk count by ratio // of target/actual frame time let currChunkTime = performance.now(); let ratio = this._targetFrameTime / (currChunkTime - this.__lastChunkTime); this.__chunkCount = Math.round(this.__chunkCount * ratio) || 1; this.__limit += this.__chunkCount; this.__lastChunkTime = currChunkTime; this.__debounceRender(this.__render); } __observeChanged() { this.__observePaths = this.observe && this.observe.replace('.*', '.').split(' '); } __itemsChanged(change) { if (this.items && !Array.isArray(this.items)) { console.warn('dom-repeat expected array for `items`, found', this.items); } // If path was to an item (e.g. 'items.3' or 'items.3.foo'), forward the // path to that instance synchronously (returns false for non-item paths) if (!this.__handleItemPath(change.path, change.value)) { // Otherwise, the array was reset ('items') or spliced ('items.splices'), // so queue a full refresh this.__initializeChunking(); this.__debounceRender(this.__render); } } __handleObservedPaths(path) { // Handle cases where path changes should cause a re-sort/filter if (this.__sortFn || this.__filterFn) { if (!path) { // Always re-render if the item itself changed this.__debounceRender(this.__render, this.delay); } else if (this.__observePaths) { // Otherwise, re-render if the path changed matches an observed path let paths = this.__observePaths; for (let i=0; i<paths.length; i++) { if (path.indexOf(paths[i]) === 0) { this.__debounceRender(this.__render, this.delay); } } } } } /** * @param {function(this:DomRepeat)} fn Function to debounce. * @param {number=} delay Delay in ms to debounce by. */ __debounceRender(fn, delay = 0) { this.__renderDebouncer = Polymer.Debouncer.debounce( this.__renderDebouncer , delay > 0 ? Polymer.Async.timeOut.after(delay) : Polymer.Async.microTask , fn.bind(this)); Polymer.enqueueDebouncer(this.__renderDebouncer); } /** * Forces the element to render its content. Normally rendering is * asynchronous to a provoking change. This is done for efficiency so * that multiple changes trigger only a single render. The render method * should be called if, for example, template rendering is required to * validate application state. * @return {void} */ render() { // Queue this repeater, then flush all in order this.__debounceRender(this.__render); Polymer.flush(); } __render() { if (!this.__ensureTemplatized()) { // No template found yet return; } this.__applyFullRefresh(); // Reset the pool // TODO(kschaaf): Reuse pool across turns and nested templates // Now that objects/arrays are re-evaluated when set, we can safely // reuse pooled instances across turns, however we still need to decide // semantics regarding how long to hold, how many to hold, etc. this.__pool.length = 0; // Set rendered item count this._setRenderedItemCount(this.__instances.length); // Notify users this.dispatchEvent(new CustomEvent('dom-change', { bubbles: true, composed: true })); // Check to see if we need to render more items this.__tryRenderChunk(); } __applyFullRefresh() { let items = this.items || []; let isntIdxToItemsIdx = new Array(items.length); for (let i=0; i<items.length; i++) { isntIdxToItemsIdx[i] = i; } // Apply user filter if (this.__filterFn) { isntIdxToItemsIdx = isntIdxToItemsIdx.filter((i, idx, array) => this.__filterFn(items[i], idx, array)); } // Apply user sort if (this.__sortFn) { isntIdxToItemsIdx.sort((a, b) => this.__sortFn(items[a], items[b])); } // items->inst map kept for item path forwarding const itemsIdxToInstIdx = this.__itemsIdxToInstIdx = {}; let instIdx = 0; // Generate instances and assign items const limit = Math.min(isntIdxToItemsIdx.length, this.__limit); for (; instIdx<limit; instIdx++) { let inst = this.__instances[instIdx]; let itemIdx = isntIdxToItemsIdx[instIdx]; let item = items[itemIdx]; itemsIdxToInstIdx[itemIdx] = instIdx; if (inst) { inst._setPendingProperty(this.as, item); inst._setPendingProperty(this.indexAs, instIdx); inst._setPendingProperty(this.itemsIndexAs, itemIdx); inst._flushProperties(); } else { this.__insertInstance(item, instIdx, itemIdx); } } // Remove any extra instances from previous state for (let i=this.__instances.length-1; i>=instIdx; i--) { this.__detachAndRemoveInstance(i); } } __detachInstance(idx) { let inst = this.__instances[idx]; for (let i=0; i<inst.children.length; i++) { let el = inst.children[i]; inst.root.appendChild(el); } return inst; } __attachInstance(idx, parent) { let inst = this.__instances[idx]; parent.insertBefore(inst.root, this); } __detachAndRemoveInstance(idx) { let inst = this.__detachInstance(idx); if (inst) { this.__pool.push(inst); } this.__instances.splice(idx, 1); } __stampInstance(item, instIdx, itemIdx) { let model = {}; model[this.as] = item; model[this.indexAs] = instIdx; model[this.itemsIndexAs] = itemIdx; return new this.__ctor(model); } __insertInstance(item, instIdx, itemIdx) { let inst = this.__pool.pop(); if (inst) { // TODO(kschaaf): If the pool is shared across turns, hostProps // need to be re-set to reused instances in addition to item inst._setPendingProperty(this.as, item); inst._setPendingProperty(this.indexAs, instIdx); inst._setPendingProperty(this.itemsIndexAs, itemIdx); inst._flushProperties(); } else { inst = this.__stampInstance(item, instIdx, itemIdx); } let beforeRow = this.__instances[instIdx + 1]; let beforeNode = beforeRow ? beforeRow.children[0] : this; this.parentNode.insertBefore(inst.root, beforeNode); this.__instances[instIdx] = inst; return inst; } // Implements extension point from Templatize mixin /** * Shows or hides the template instance top level child elements. For * text nodes, `textContent` is removed while "hidden" and replaced when * "shown." * @param {boolean} hidden Set to true to hide the children; * set to false to show them. * @return {void} * @protected */ _showHideChildren(hidden) { for (let i=0; i<this.__instances.length; i++) { this.__instances[i]._showHideChildren(hidden); } } // Called as a side effect of a host items.<key>.<path> path change, // responsible for notifying item.<path> changes to inst for key __handleItemPath(path, value) { let itemsPath = path.slice(6); // 'items.'.length == 6 let dot = itemsPath.indexOf('.'); let itemsIdx = dot < 0 ? itemsPath : itemsPath.substring(0, dot); // If path was index into array... if (itemsIdx == parseInt(itemsIdx, 10)) { let itemSubPath = dot < 0 ? '' : itemsPath.substring(dot+1); // If the path is observed, it will trigger a full refresh this.__handleObservedPaths(itemSubPath); // Note, even if a rull refresh is triggered, always do the path // notification because unless mutableData is used for dom-repeat // and all elements in the instance subtree, a full refresh may // not trigger the proper update. let instIdx = this.__itemsIdxToInstIdx[itemsIdx]; let inst = this.__instances[instIdx]; if (inst) { let itemPath = this.as + (itemSubPath ? '.' + itemSubPath : ''); // This is effectively `notifyPath`, but avoids some of the overhead // of the public API inst._setPendingPropertyOrPath(itemPath, value, false, true); inst._flushProperties(); } return true; } } /** * Returns the item associated with a given element stamped by * this `dom-repeat`. * * Note, to modify sub-properties of the item, * `modelForElement(el).set('item.<sub-prop>', value)` * should be used. * * @param {!HTMLElement} el Element for which to return the item. * @return {*} Item associated with the element. */ itemForElement(el) { let instance = this.modelForElement(el); return instance && instance[this.as]; } /** * Returns the inst index for a given element stamped by this `dom-repeat`. * If `sort` is provided, the index will reflect the sorted order (rather * than the original array order). * * @param {!HTMLElement} el Element for which to return the index. * @return {?number} Row index associated with the element (note this may * not correspond to the array index if a user `sort` is applied). */ indexForElement(el) { let instance = this.modelForElement(el); return instance && instance[this.indexAs]; } /** * Returns the template "model" associated with a given element, which * serves as the binding scope for the template instance the element is * contained in. A template model is an instance of `Polymer.Base`, and * should be used to manipulate data associated with this template instance. * * Example: * * let model = modelForElement(el); * if (model.index < 10) { * model.set('item.checked', true); * } * * @param {!HTMLElement} el Element for which to return a template model. * @return {TemplateInstanceBase} Model representing the binding scope for * the element. */ modelForElement(el) { return Polymer.Templatize.modelForElement(this.template, el); } } customElements.define(DomRepeat.is, DomRepeat); Polymer.DomRepeat = DomRepeat; })(); </script>
catapult-project/catapult
third_party/polymer2/bower_components/polymer/lib/elements/dom-repeat.html
HTML
bsd-3-clause
26,438
<!DOCTYPE html> <script src="utils.js"></script> <title>Page embedded as a fenced frame</title> <script> const [key] = parseKeylist(); writeValueToServer(key, "loaded"); </script>
chromium/chromium
third_party/blink/web_tests/wpt_internal/fenced_frame/resources/csp-frame-src-allowed-inner.html
HTML
bsd-3-clause
183
{% load material_form material_form_internal %} {% part bound_field.field %}<div class="row"> <div {% tagattrs %} id="id_{{ bound_field.html_name }}_container" class="{% part field group_class %}select-field col s12 {% if field.required%}required{% endif %} {% if bound_field.errors %}has-error{% endif %} {% part field add_group_class %}{% endpart %} {% endpart %}"{% endtagattrs %}> {% part field label %} <label for="{{ bound_field.id_for_label }}" class="{% part field add_label_class %}{{ form_label_class }}{% endpart %}">{{ bound_field.label }}</label> {% endpart %}{% part field prefix %}{% endpart %} {% part field control %} <select {% tagattrs %} class="{% if field.widget.attrs.class %}{{ field.widget.attrs.class }} {% endif %}{% if bound_field.errors %}invalid {% endif %}{% part field add_control_class %}{{ form_control_class }}{% endpart %}" name="{{ bound_field.html_name }}" {% for name, value in field.widget.attrs.items %}{% if name != 'class' %}{{name}}="{{value}}" {% endif %}{% endfor %} id="id_{{ bound_field.html_name }}" {% part field add_control_attr %}{% endpart %}{% endtagattrs %}> {% part field options %}{% for value, choice in field.widget.choices %} <option {% tagattrs %}{% if value|force_text == bound_field.value|force_text %}selected="selected"{% endif %} {% if value == None or value == '' %}value{% else %}value="{{ value }}"{% endif %} {% endtagattrs %}>{% if value == None or value == '' %}{{ form_select_empty_label|default:choice }}{% else %}{{ choice }}{% endif %}</option>{% endfor %}{% endpart %} </select> {% endpart %}{% part field help_text %}{% if field.help_text %} <span class="help-block">{{ bound_field.help_text }}</span> {% endif %}{% endpart %}{% part field errors %} {% if bound_field.errors %} {% include 'material/field_errors.html' %} {% endif %}{% endpart %}{{ hidden_initial }} </div> </div>{% endpart %}
thiagoramos-luizalabs/django-material
material/templates/material/fields/django_select.html
HTML
bsd-3-clause
2,201
def foo(a: Any, b: Any, /, c: Any, d: Any) -&gt; None
siosio/intellij-community
python/testData/quickdoc/PositionalOnlyParameters.html
HTML
apache-2.0
53
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_65) on Tue Apr 29 23:14:38 EDT 2014 --> <TITLE> ZipShort (Apache Ant API) </TITLE> <META NAME="date" CONTENT="2014-04-29"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="ZipShort (Apache Ant API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../org/apache/tools/zip/ZipOutputStream.UnicodeExtraFieldPolicy.html" title="class in org.apache.tools.zip"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../../org/apache/tools/zip/ZipUtil.html" title="class in org.apache.tools.zip"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/apache/tools/zip/ZipShort.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="ZipShort.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> org.apache.tools.zip</FONT> <BR> Class ZipShort</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.tools.zip.ZipShort</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable</DD> </DL> <HR> <DL> <DT><PRE>public final class <B>ZipShort</B><DT>extends java.lang.Object<DT>implements java.lang.Cloneable</DL> </PRE> <P> Utility class that represents a two byte integer with conversion rules for the big endian byte order of ZIP files. <P> <P> <HR> <P> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#ZipShort(byte[])">ZipShort</A></B>(byte[]&nbsp;bytes)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create instance from bytes.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#ZipShort(byte[], int)">ZipShort</A></B>(byte[]&nbsp;bytes, int&nbsp;offset)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create instance from the two bytes starting at offset.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#ZipShort(int)">ZipShort</A></B>(int&nbsp;value)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create instance from a number.</TD> </TR> </TABLE> &nbsp; <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#clone()">clone</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;o)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override to make two instances with same value equal.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#getBytes()">getBytes</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get value as two bytes in big endian byte order.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;byte[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#getBytes(int)">getBytes</A></B>(int&nbsp;value)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get value as two bytes in big endian byte order.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#getValue()">getValue</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get value as Java int.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#getValue(byte[])">getValue</A></B>(byte[]&nbsp;bytes)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper method to get the value as a java int from a two-byte array</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#getValue(byte[], int)">getValue</A></B>(byte[]&nbsp;bytes, int&nbsp;offset)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper method to get the value as a java int from two bytes starting at given array offset</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#hashCode()">hashCode</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override to make two instances with same value equal.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipShort.html#toString()">toString</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD> </TR> </TABLE> &nbsp; <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="ZipShort(int)"><!-- --></A><H3> ZipShort</H3> <PRE> public <B>ZipShort</B>(int&nbsp;value)</PRE> <DL> <DD>Create instance from a number. <P> <DL> <DT><B>Parameters:</B><DD><CODE>value</CODE> - the int to store as a ZipShort<DT><B>Since:</B></DT> <DD>1.1</DD> </DL> </DL> <HR> <A NAME="ZipShort(byte[])"><!-- --></A><H3> ZipShort</H3> <PRE> public <B>ZipShort</B>(byte[]&nbsp;bytes)</PRE> <DL> <DD>Create instance from bytes. <P> <DL> <DT><B>Parameters:</B><DD><CODE>bytes</CODE> - the bytes to store as a ZipShort<DT><B>Since:</B></DT> <DD>1.1</DD> </DL> </DL> <HR> <A NAME="ZipShort(byte[], int)"><!-- --></A><H3> ZipShort</H3> <PRE> public <B>ZipShort</B>(byte[]&nbsp;bytes, int&nbsp;offset)</PRE> <DL> <DD>Create instance from the two bytes starting at offset. <P> <DL> <DT><B>Parameters:</B><DD><CODE>bytes</CODE> - the bytes to store as a ZipShort<DD><CODE>offset</CODE> - the offset to start<DT><B>Since:</B></DT> <DD>1.1</DD> </DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="getBytes()"><!-- --></A><H3> getBytes</H3> <PRE> public byte[] <B>getBytes</B>()</PRE> <DL> <DD>Get value as two bytes in big endian byte order. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the value as a a two byte array in big endian byte order<DT><B>Since:</B></DT> <DD>1.1</DD> </DL> </DD> </DL> <HR> <A NAME="getValue()"><!-- --></A><H3> getValue</H3> <PRE> public int <B>getValue</B>()</PRE> <DL> <DD>Get value as Java int. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>value as a Java int<DT><B>Since:</B></DT> <DD>1.1</DD> </DL> </DD> </DL> <HR> <A NAME="getBytes(int)"><!-- --></A><H3> getBytes</H3> <PRE> public static byte[] <B>getBytes</B>(int&nbsp;value)</PRE> <DL> <DD>Get value as two bytes in big endian byte order. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>value</CODE> - the Java int to convert to bytes <DT><B>Returns:</B><DD>the converted int as a byte array in big endian byte order</DL> </DD> </DL> <HR> <A NAME="getValue(byte[], int)"><!-- --></A><H3> getValue</H3> <PRE> public static int <B>getValue</B>(byte[]&nbsp;bytes, int&nbsp;offset)</PRE> <DL> <DD>Helper method to get the value as a java int from two bytes starting at given array offset <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>bytes</CODE> - the array of bytes<DD><CODE>offset</CODE> - the offset to start <DT><B>Returns:</B><DD>the corresponding java int value</DL> </DD> </DL> <HR> <A NAME="getValue(byte[])"><!-- --></A><H3> getValue</H3> <PRE> public static int <B>getValue</B>(byte[]&nbsp;bytes)</PRE> <DL> <DD>Helper method to get the value as a java int from a two-byte array <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>bytes</CODE> - the array of bytes <DT><B>Returns:</B><DD>the corresponding java int value</DL> </DD> </DL> <HR> <A NAME="equals(java.lang.Object)"><!-- --></A><H3> equals</H3> <PRE> public boolean <B>equals</B>(java.lang.Object&nbsp;o)</PRE> <DL> <DD>Override to make two instances with same value equal. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>o</CODE> - an object to compare <DT><B>Returns:</B><DD>true if the objects are equal<DT><B>Since:</B></DT> <DD>1.1</DD> </DL> </DD> </DL> <HR> <A NAME="hashCode()"><!-- --></A><H3> hashCode</H3> <PRE> public int <B>hashCode</B>()</PRE> <DL> <DD>Override to make two instances with same value equal. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the value stored in the ZipShort<DT><B>Since:</B></DT> <DD>1.1</DD> </DL> </DD> </DL> <HR> <A NAME="clone()"><!-- --></A><H3> clone</H3> <PRE> public java.lang.Object <B>clone</B>()</PRE> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="toString()"><!-- --></A><H3> toString</H3> <PRE> public java.lang.String <B>toString</B>()</PRE> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../org/apache/tools/zip/ZipOutputStream.UnicodeExtraFieldPolicy.html" title="class in org.apache.tools.zip"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../../org/apache/tools/zip/ZipUtil.html" title="class in org.apache.tools.zip"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/apache/tools/zip/ZipShort.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="ZipShort.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
byronka/xenos
utils/ant/apache-ant-1.9.4/manual/api/org/apache/tools/zip/ZipShort.html
HTML
mit
17,373
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.sprymedia.co.uk/media/images/favicon.ico"> <title>FixedHeader example</title> <style type="text/css" title="currentStyle"> @import "../../media/css/demo_page.css"; @import "../../media/css/demo_table.css"; .FixedHeader_Cloned th { background-color: white; } </style> <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.js"></script> <script type="text/javascript" charset="utf-8" src="js/FixedHeader.js"></script> <script type="text/javascript" charset="utf-8"> $(document).ready( function () { new FixedHeader( document.getElementById('example') ); } ); </script> </head> <body id="dt_example"> <div id="container"> <div class="full_width big"> FixedHeader example - HTML table </div> <h1>Preamble</h1> <p>FixedHeader will work standalone as well (i.e. without DataTables), as can be seen in this example. The standard settings can be applied to FixedHeader to enhance the table.</p> <h1>Live example</h1> <div id="demo"> <table class="display" id="example"> <thead> <tr> <th>Rendering engine</th> <th>Browser</th> <th>Platform(s)</th> <th>Engine version</th> <th>CSS grade</th> </tr> </thead> <tbody> <tr class="gradeX"> <td>Trident</td> <td>Internet Explorer 4.0</td> <td>Win 95+</td> <td class="center">4</td> <td class="center">X</td> </tr> <tr class="gradeC"> <td>Trident</td> <td>Internet Explorer 5.0</td> <td>Win 95+</td> <td class="center">5</td> <td class="center">C</td> </tr> <tr class="gradeA"> <td>Trident</td> <td>Internet Explorer 5.5</td> <td>Win 95+</td> <td class="center">5.5</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Trident</td> <td>Internet Explorer 6</td> <td>Win 98+</td> <td class="center">6</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Trident</td> <td>Internet Explorer 7</td> <td>Win XP SP2+</td> <td class="center">7</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Trident</td> <td>AOL browser (AOL desktop)</td> <td>Win XP</td> <td class="center">6</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Firefox 1.0</td> <td>Win 98+ / OSX.2+</td> <td class="center">1.7</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Firefox 1.5</td> <td>Win 98+ / OSX.2+</td> <td class="center">1.8</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Firefox 2.0</td> <td>Win 98+ / OSX.2+</td> <td class="center">1.8</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Firefox 3.0</td> <td>Win 2k+ / OSX.3+</td> <td class="center">1.9</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Camino 1.0</td> <td>OSX.2+</td> <td class="center">1.8</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Camino 1.5</td> <td>OSX.3+</td> <td class="center">1.8</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Netscape 7.2</td> <td>Win 95+ / Mac OS 8.6-9.2</td> <td class="center">1.7</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Netscape Browser 8</td> <td>Win 98SE+</td> <td class="center">1.7</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Netscape Navigator 9</td> <td>Win 98+ / OSX.2+</td> <td class="center">1.8</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Mozilla 1.0</td> <td>Win 95+ / OSX.1+</td> <td class="center">1</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Mozilla 1.1</td> <td>Win 95+ / OSX.1+</td> <td class="center">1.1</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Mozilla 1.2</td> <td>Win 95+ / OSX.1+</td> <td class="center">1.2</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Mozilla 1.3</td> <td>Win 95+ / OSX.1+</td> <td class="center">1.3</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Mozilla 1.4</td> <td>Win 95+ / OSX.1+</td> <td class="center">1.4</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Mozilla 1.5</td> <td>Win 95+ / OSX.1+</td> <td class="center">1.5</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Mozilla 1.6</td> <td>Win 95+ / OSX.1+</td> <td class="center">1.6</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Mozilla 1.7</td> <td>Win 98+ / OSX.1+</td> <td class="center">1.7</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Mozilla 1.8</td> <td>Win 98+ / OSX.1+</td> <td class="center">1.8</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Seamonkey 1.1</td> <td>Win 98+ / OSX.2+</td> <td class="center">1.8</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Gecko</td> <td>Epiphany 2.20</td> <td>Gnome</td> <td class="center">1.8</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Webkit</td> <td>Safari 1.2</td> <td>OSX.3</td> <td class="center">125.5</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Webkit</td> <td>Safari 1.3</td> <td>OSX.3</td> <td class="center">312.8</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Webkit</td> <td>Safari 2.0</td> <td>OSX.4+</td> <td class="center">419.3</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Webkit</td> <td>Safari 3.0</td> <td>OSX.4+</td> <td class="center">522.1</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Webkit</td> <td>OmniWeb 5.5</td> <td>OSX.4+</td> <td class="center">420</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Webkit</td> <td>iPod Touch / iPhone</td> <td>iPod</td> <td class="center">420.1</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Webkit</td> <td>S60</td> <td>S60</td> <td class="center">413</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Presto</td> <td>Opera 7.0</td> <td>Win 95+ / OSX.1+</td> <td class="center">-</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Presto</td> <td>Opera 7.5</td> <td>Win 95+ / OSX.2+</td> <td class="center">-</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Presto</td> <td>Opera 8.0</td> <td>Win 95+ / OSX.2+</td> <td class="center">-</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Presto</td> <td>Opera 8.5</td> <td>Win 95+ / OSX.2+</td> <td class="center">-</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Presto</td> <td>Opera 9.0</td> <td>Win 95+ / OSX.3+</td> <td class="center">-</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Presto</td> <td>Opera 9.2</td> <td>Win 88+ / OSX.3+</td> <td class="center">-</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Presto</td> <td>Opera 9.5</td> <td>Win 88+ / OSX.3+</td> <td class="center">-</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Presto</td> <td>Opera for Wii</td> <td>Wii</td> <td class="center">-</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Presto</td> <td>Nokia N800</td> <td>N800</td> <td class="center">-</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>Presto</td> <td>Nintendo DS browser</td> <td>Nintendo DS</td> <td class="center">8.5</td> <td class="center">C/A<sup>1</sup></td> </tr> <tr class="gradeC"> <td>KHTML</td> <td>Konqureror 3.1</td> <td>KDE 3.1</td> <td class="center">3.1</td> <td class="center">C</td> </tr> <tr class="gradeA"> <td>KHTML</td> <td>Konqureror 3.3</td> <td>KDE 3.3</td> <td class="center">3.3</td> <td class="center">A</td> </tr> <tr class="gradeA"> <td>KHTML</td> <td>Konqureror 3.5</td> <td>KDE 3.5</td> <td class="center">3.5</td> <td class="center">A</td> </tr> <tr class="gradeX"> <td>Tasman</td> <td>Internet Explorer 4.5</td> <td>Mac OS 8-9</td> <td class="center">-</td> <td class="center">X</td> </tr> <tr class="gradeC"> <td>Tasman</td> <td>Internet Explorer 5.1</td> <td>Mac OS 7.6-9</td> <td class="center">1</td> <td class="center">C</td> </tr> <tr class="gradeC"> <td>Tasman</td> <td>Internet Explorer 5.2</td> <td>Mac OS 8-X</td> <td class="center">1</td> <td class="center">C</td> </tr> <tr class="gradeA"> <td>Misc</td> <td>NetFront 3.1</td> <td>Embedded devices</td> <td class="center">-</td> <td class="center">C</td> </tr> <tr class="gradeA"> <td>Misc</td> <td>NetFront 3.4</td> <td>Embedded devices</td> <td class="center">-</td> <td class="center">A</td> </tr> <tr class="gradeX"> <td>Misc</td> <td>Dillo 0.8</td> <td>Embedded devices</td> <td class="center">-</td> <td class="center">X</td> </tr> <tr class="gradeX"> <td>Misc</td> <td>Links</td> <td>Text only</td> <td class="center">-</td> <td class="center">X</td> </tr> <tr class="gradeX"> <td>Misc</td> <td>Lynx</td> <td>Text only</td> <td class="center">-</td> <td class="center">X</td> </tr> <tr class="gradeC"> <td>Misc</td> <td>IE Mobile</td> <td>Windows Mobile 6</td> <td class="center">-</td> <td class="center">C</td> </tr> <tr class="gradeC"> <td>Misc</td> <td>PSP browser</td> <td>PSP</td> <td class="center">-</td> <td class="center">C</td> </tr> <tr class="gradeU"> <td>Other browsers</td> <td>All others</td> <td>-</td> <td class="center">-</td> <td class="center">U</td> </tr> </tbody> <tfoot> <tr> <th>Rendering engine</th> <th>Browser</th> <th>Platform(s)</th> <th>Engine version</th> <th>CSS grade</th> </tr> </tfoot> </table> </div> <div class="spacer"></div> <h1>Initialisation code</h1> <pre>$(document).ready( function () { new FixedHeader( document.getElementById('example') ); } );</pre> <h1>Examples</h1> <ul> <li><a href="index.html">Basic demo with just the HeaderFixed</a></li> <li><a href="html_table.html">FixedHeader without requiring DataTables</a></li> <li><a href="two_tables.html">Two tables with FixedHeaders on a single page</a></li> <li><a href="top_bottom_left_right.html">A spreadsheet style layout with header and footer, left and right columns all fixed.</a></li> <li><a href="zIndexes.html">Change the display order of the fixed elements (zIndex)</a></li> </ul> <p>Empty paragraphs to force scrolling!...</p> <p style="height:500px;">&nbsp;</p> <div id="footer" style="text-align:center;"> <span style="font-size:10px;"> FixedHeader and DataTables &copy; Allan Jardine 2009-2010.<br> </span> </div> </div> </body> </html>
Adriwr/Clinica
web/css/vendor/plugins/datatables/dynamic/extras/FixedHeader/html_table.html
HTML
mit
11,662
<!--{ "Title": "Command Documentation", "Path": "/doc/cmd" }--> <p> There is a suite of programs to build and process Go source code. Instead of being run directly, programs in the suite are usually invoked by the <a href="/cmd/go/">go</a> program. </p> <p> The most common way to run these programs is as a subcommand of the go program, for instance as <code>go fmt</code>. Run like this, the command operates on complete packages of Go source code, with the go program invoking the underlying binary with arguments appropriate to package-level processing. </p> <p> The programs can also be run as stand-alone binaries, with unmodified arguments, using the go <code>tool</code> subcommand, such as <code>go tool vet</code>. This style of invocation allows, for instance, checking a single source file rather than an entire package: <code>go tool vet myprogram.go</code> as compared to <code>go vet mypackage</code>. Some of the commands, such as <code>yacc</code>, are accessible only through the go <code>tool</code> subcommand. </p> <p> Finally the <code>fmt</code> and <code>godoc</code> commands are installed as regular binaries called <code>gofmt</code> and <code>godoc</code> because they are so often referenced. </p> <p> Click on the links for more documentation, invocation methods, and usage details. </p> <table class="dir"> <tr> <th>Name</th> <th>&nbsp;&nbsp;&nbsp;&nbsp;</th> <th>Synopsis</th> </tr> <tr> <td><a href="/cmd/go/">go</a></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td> The <code>go</code> program manages Go source code and runs the other commands listed here. See the command docs for usage details. <br><br> </td> </tr> <tr> <td><a href="/cmd/cgo/">cgo</a></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td>Cgo enables the creation of Go packages that call C code.</td> </tr> <tr> <td><a href="//godoc.org/golang.org/x/tools/cmd/cover/">cover</a></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td>Cover is a program for creating and analyzing the coverage profiles generated by <code>"go test -coverprofile"</code>.</td> </tr> <tr> <td><a href="/cmd/fix/">fix</a></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td>Fix finds Go programs that use old features of the language and libraries and rewrites them to use newer ones.</td> </tr> <tr> <td><a href="/cmd/go/">fmt</a></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td>Fmt formats Go packages, it is also available as an independent <a href="/cmd/gofmt/"> gofmt</a> command with more general options.</td> </tr> <tr> <td><a href="//godoc.org/golang.org/x/tools/cmd/godoc/">godoc</a></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td>Godoc extracts and generates documentation for Go packages.</td> </tr> <tr> <td><a href="/cmd/vet/">vet</a></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td>Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.</td> </tr> <tr> <td><a href="/cmd/yacc/">yacc</a></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td>Yacc is a version of yacc that generates parsers implemented in Go.</td> </tr> </table> <p> This is an abridged list. See the <a href="/cmd/">full command reference</a> for documentation of the compilers and more. </p>
LeoCBS/poc-proxy-https
go/doc/cmd.html
HTML
apache-2.0
3,197
<ion-view> <ion-nav-title><mm-format-text watch="true">{{ title }}</mm-format-text></ion-nav-title> <ion-nav-buttons side="secondary"> <mm-context-menu> <mm-context-menu-item priority="900" ng-if="externalUrl" href="externalUrl" content="'mm.core.openinbrowser' | translate" icon-action="'ion-share'"></mm-context-menu-item> <mm-context-menu-item priority="800" ng-if="description" content="'mm.core.moduleintro' | translate" action="expandDescription()" icon-action="'ion-arrow-right-c'"></mm-context-menu-item> <mm-context-menu-item priority="700" content="'mm.core.refresh' | translate" action="doRefresh()" icon-action="refreshIcon" close-on-click="false" close-when-done="true"></mm-context-menu-item> </mm-context-menu> </ion-nav-buttons> <ion-content padding="true" mm-state-class> <ion-refresher pulling-text="{{ 'mm.core.pulltorefresh' | translate }}" on-refresh="doRefresh()" ng-if="loaded && mode == 'external'"></ion-refresher> <mm-loading hide-until="loaded"> <mm-course-mod-description ng-if="mode != 'iframe'" description="description" component="{{component}}" component-id="{{componentId}}"></mm-course-mod-description> <div ng-if="mode == 'iframe'"> <mm-iframe src="src"></mm-iframe> </div> <div ng-if="mode == 'external'"> <a ng-click="open()" class="button button-block icon-left ion-document">{{ 'mma.mod_resource.openthefile' | translate }}</a> </div> </mm-loading> </ion-content> </ion-view>
brenda10campos/GACER1
www/addons/mod/resource/templates/index.html
HTML
apache-2.0
1,605
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc on Thu May 08 00:27:33 BST 2014--> <TITLE> phantomjsdriver 1.2.0 API </TITLE> <SCRIPT type="text/javascript"> targetPage = "" + window.location.search; if (targetPage != "" && targetPage != "undefined") targetPage = targetPage.substring(1); if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage))) targetPage = "undefined"; function validURL(url) { var pos = url.indexOf(".html"); if (pos == -1 || pos != url.length - 5) return false; var allowNumber = false; var allowSep = false; var seenDot = false; for (var i = 0; i < url.length - 5; i++) { var ch = url.charAt(i); if ('a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch == '$' || ch == '_') { allowNumber = true; allowSep = true; } else if ('0' <= ch && ch <= '9' || ch == '-') { if (!allowNumber) return false; } else if (ch == '/' || ch == '.') { if (!allowSep) return false; allowNumber = false; allowSep = false; if (ch == '.') seenDot = true; if (ch == '/' && seenDot) return false; } else { return false; } } return true; } function loadFrames() { if (targetPage != "" && targetPage != "undefined") top.classFrame.location = top.targetPage; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()"> <FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)"> <FRAME src="org/openqa/selenium/phantomjs/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes"> <NOFRAMES> <H2> Frame Alert</H2> <P> This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. <BR> Link to<A HREF="org/openqa/selenium/phantomjs/package-summary.html">Non-frame version.</A> </NOFRAMES> </FRAMESET> </HTML>
detro/ghostdriver
binding/java/docs/javadoc/index.html
HTML
bsd-2-clause
2,487
<!DOCTYPE html> <html> <head> <title>Load</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <!-- jQuery, --> <script src="jquery/jquery-1.9.1.min.js"></script> <!-- Fotorama --> <link href="../out/fotorama.css" rel="stylesheet"> <script src="../out/fotorama.js"></script> <style type="text/css"> * { box-sizing: border-box; } </style> <script type="text/javascript"> $(function () { f = $('.fotorama').fotorama().data('fotorama'); }) </script> </head> <body> <!-- Fotorama --> <div class="fotorama" data-width="400" data-ratio="3/2" data-autoplay="3000" data-max-width="100%" data-allowfullscreen="true" data-nav="thumbs"> <a href="http://s.fotorama.io/okonechnikov/1-lo.jpg" data-full="http://s.fotorama.io/okonechnikov/1.jpg"><img src="http://s.fotorama.io/okonechnikov/1-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/2-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/2-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/4-lo.jpg" data-full="http://s.fotorama.io/okonechnikov/4.jpg"><img src="http://s.fotorama.io/okonechnikov/4-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/5-lo.jpg" data-full="http://s.fotorama.io/okonechnikov/5.jpg"><img src="http://s.fotorama.io/okonechnikov/5-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/6-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/6-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/7-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/7-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/8-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/8-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/9-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/9-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/10-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/10-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/11-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/11-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/12-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/12-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/13-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/13-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/14-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/14-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/15-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/15-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/16-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/16-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/20-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/20-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/21-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/21-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/22-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/22-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/23-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/23-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/24-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/24-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/17-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/17-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/18-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/18-thumb.jpg"></a> <a href="http://s.fotorama.io/okonechnikov/19-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/19-thumb.jpg"></a> </div> <!--<div class="fotorama"--> <!--data-width="400"--> <!--data-ratio="3/2"--> <!--data-shuffle="true"--> <!--data-max-width="100%"--> <!--data-nav="thumbs">--> <!--<a href="http://s.fotorama.io/okonechnikov/1-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/1-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/2-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/2-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/4-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/4-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/5-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/5-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/6-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/6-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/7-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/7-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/8-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/8-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/9-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/9-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/10-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/10-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/11-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/11-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/12-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/12-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/13-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/13-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/14-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/14-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/15-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/15-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/16-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/16-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/20-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/20-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/21-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/21-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/22-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/22-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/23-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/23-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/24-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/24-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/17-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/17-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/18-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/18-thumb.jpg"></a>--> <!--<a href="http://s.fotorama.io/okonechnikov/19-lo.jpg"><img src="http://s.fotorama.io/okonechnikov/19-thumb.jpg"></a>--> <!--</div>--> <!-- © --> <p>Photos <a href="http://okonet.ru/">by Andrey Okonetchnikov</a></p> </body> </html>
noikiy/fotorama
test/load.html
HTML
mit
6,754
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta content="Apache Forrest" name="Generator"> <meta name="Forrest-version" content="0.8"> <meta name="Forrest-skin-name" content="pelt"> <title>SVG Rasterizer</title> <link type="text/css" href="../skin/basic.css" rel="stylesheet"> <link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet"> <link media="print" type="text/css" href="../skin/print.css" rel="stylesheet"> <link type="text/css" href="../skin/profile.css" rel="stylesheet"> <script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script> <link rel="shortcut icon" href="../"> </head> <body onload="init()"> <script type="text/javascript">ndeSetTextSize();</script> <div id="top"> <!--+ |breadtrail +--> <div class="breadtrail"> <a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml</a> &gt; <a href="http://xmlgraphics.apache.org/">graphics</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> </div> <!--+ |header +--> <div class="header"> <!--+ |start group logo +--> <div class="grouplogo"> <a href="http://xmlgraphics.apache.org/"><img class="logoImage" alt="Apache XML Graphics" src="../images/group-logo.png" title="Apache XML Graphics"></a> </div> <!--+ |end group logo +--> <!--+ |start Project Logo +--> <div class="projectlogoA1"> <a href="http://xmlgraphics.apache.org/batik/"><img class="logoImage" alt="Apache Batik" src="../images/batik.png" title="Apache Batik"></a> </div> <!--+ |end Project Logo +--> <!--+ |start Tabs +--> <ul id="tabs"> <li> <a class="unselected" href="../index.html">Home</a> </li> <li class="current"> <a class="selected" href="../tools/index.html">Tools and applications</a> </li> <li> <a class="unselected" href="../using/index.html">Using Batik</a> </li> <li> <a class="unselected" href="../dev/index.html">Development</a> </li> </ul> <!--+ |end Tabs +--> </div> </div> <div id="main"> <div id="publishedStrip"> <!--+ |start Subtabs +--> <div id="level2tabs"></div> <!--+ |end Endtabs +--> <script type="text/javascript"><!-- document.write("Last Published: " + document.lastModified); // --></script> </div> <!--+ |breadtrail +--> <div class="breadtrail"> &nbsp; </div> <!--+ |start Menu, mainarea +--> <!--+ |start Menu +--> <div id="menu"> <div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Tools</div> <div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> <div class="menuitem"> <a href="../tools/index.html">About the tools</a> </div> <div class="menuitem"> <a href="../tools/browser.html">Browser</a> </div> <div class="menupage"> <div class="menupagetitle">Rasterizer</div> </div> <div class="menuitem"> <a href="../tools/font-converter.html">Font converter</a> </div> <div class="menuitem"> <a href="../tools/pretty-printer.html">Pretty printer</a> </div> </div> <div id="credit"></div> <div id="roundbottom"> <img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> <!--+ |alternative credits +--> <div id="credit2"> <a href="http://eu.apachecon.com/"><img border="0" title="ApacheCon Europe 2008" alt="ApacheCon Europe 2008 - logo" src="http://apache.org/ads/ApacheCon/2008-europe-125x125.png" style="width: 125px;height: 125px;"></a> </div> </div> <!--+ |end Menu +--> <!--+ |start content +--> <div id="content"> <h1>SVG Rasterizer</h1> <div id="minitoc-area"> <ul class="minitoc"> <li> <a href="#downloading">Downloading the rasterizer</a> </li> <li> <a href="#using">Rasterizing one or several SVG files</a> <ul class="minitoc"> <li> <a href="#using-binary">Using the binary distribution</a> </li> <li> <a href="#usingSource">Using the source distribution</a> </li> </ul> </li> <li> <a href="#task">Rasterizer Ant task</a> <ul class="minitoc"> <li> <a href="#initTask">Using the rasterizer task</a> </li> <li> <a href="#taskParameters">Parameters of the Ant task</a> </li> <li> <a href="#taskExamples">Examples of using the rasterizer task</a> </li> </ul> </li> </ul> </div> <p> This page describes the features of the SVG Rasterizer utility that comes with the Batik distribution. The SVG Rasterizer is a utility that can convert SVG files to a raster format. The tool can convert individual files or sets of files, making it easy to convert entire directories of SVG files. The provided formats are <abbr title="Joint Photography Expert Group">JPEG</abbr>, <abbr title="Portable Network Graphics">PNG</abbr> and <abbr title="Tagged Image File Format">TIFF</abbr>, however the design allows new formats to be added easily. In addition, the rasterizer can (despite its name) transcode to <abbr title="Portable Document Format">PDF</abbr>. </p> <a name="N10024"></a><a name="downloading"></a> <h2 class="boxed">Downloading the rasterizer</h2> <div class="section"> <p> Refer to the <a href="../install.html">install page</a> and the <a href="../download.cgi">download area</a> to find out what to download and how to install it. Remember that you can get either the source or binary distribution. </p> </div> <a name="N10036"></a><a name="using"></a> <h2 class="boxed">Rasterizing one or several SVG files</h2> <div class="section"> <p> The method for starting the rasterizer depends on the distribution of Batik that you chose to download. The following describes how to start the viewer for each distribution. </p> <a name="N1003F"></a><a name="using-binary"></a> <h3 class="boxed">Using the binary distribution</h3> <p> If you downloaded the binary distribution of Batik, you should have a file called <span class="codefrag">batik-1.6.zip</span> (or similar), and, after expanding that file, a jar file called <span class="codefrag">batik-rasterizer.jar</span>. To start the rasterizer, open a console, go to the directory where you expanded the distribution (and where <span class="codefrag">batik-rasterizer.jar</span> is located) and simply type the following at the command prompt: </p> <pre class="code">java -jar batik-rasterizer.jar <em>FILES</em> </pre> <p> For example, if you type: </p> <pre class="code">java -jar batik-rasterizer.jar samples/batikFX.svg</pre> <p> you will see the following printout: </p> <pre class="code">Converting file: samples/BatikFX.svg to samples/BatikFX.png</pre> <p> Once the conversion is complete, you will find a <span class="codefrag">batikFX.png</span> file in the samples directory. </p> <p> You can pass options on the command line: </p> <pre class="code">java -jar batik-rasterizer.jar <em>[OPTIONS] FILES</em> </pre> <p> where, as options: </p> <dl class="options"> <dt> <strong>-d</strong> <em>dir|file</em> </dt> <dd> <p> specifies the output directory, or the output file if there is only a single input file, </p> </dd> <dt> <strong>-m</strong> <em>mime-type</em> </dt> <dd> <p> specifies the output MIME type, which must be one of <span class="codefrag">image/png</span>, <span class="codefrag">image/jpeg</span>, <span class="codefrag">image/tiff</span> or <span class="codefrag">application/pdf</span>, </p> </dd> <dt> <strong>-w</strong> <em>width</em> </dt> <dd> <p> specifies the output width as a floating point value, </p> </dd> <dt> <strong>-h</strong> <em>height</em> </dt> <dd> <p> specifies the output height as a floating point value, </p> </dd> <dt> <strong>-maxw</strong> <em>width</em> </dt> <dd> <p> specifies the maximum output width as a floating point value, </p> </dd> <dt> <strong>-maxh</strong> <em>height</em> </dt> <dd> <p> specifies the maximum output height as a floating point value, </p> </dd> <dt> <strong>-a</strong> <em>x</em><strong>,</strong><em>y</em><strong>,</strong><em>width</em><strong>,</strong><em>height</em> </dt> <dd> <p>specifies the area of interest (as floating point values) of the SVG file to rasterize (and if not specified, will be determined by the <span class="codefrag">width</span>/<span class="codefrag">height</span>/<span class="codefrag">viewBox</span> attributes if specified in the document, and be 0,0,400,400 otherwise),</p> </dd> <dt> <strong>-bg</strong> <em>alpha</em><strong>.</strong><em>red</em><strong>.</strong><em>green</em><strong>.</strong><em>blue</em> </dt> <dd> <p>specifies the background fill color as an ARGB quadruple, where each component is an integer in the range 0&mdash;255,</p> </dd> <dt> <strong>-cssMedia</strong> <em>media</em> </dt> <dd> <p>specifies the CSS media type used for matching CSS rules,</p> </dd> <dt> <strong>-cssAlternate</strong> <em>file|uri</em> </dt> <dd> <p>specifies the CSS alternate stylesheet to use,</p> </dd> <dt> <strong>-cssUser</strong> <em>file|uri</em> </dt> <dd> <p>specifies the CSS user stylesheet to use in addition to any other referenced or embedded stylesheets,</p> </dd> <dt> <strong>-lang</strong> <em>language-code</em> </dt> <dd> <p>specifies the <a class="external" href="http://www.faqs.org/rfcs/rfc3066.html">RFC 3066</a> language code to use,</p> </dd> <dt> <strong>-q</strong> <em>quality</em> </dt> <dd> <p>specifies the quality of the output image, as a floating point number in the range 0 &lt; <em>quality</em> &lt; 1 when generating JPEG images,</p> </dd> <dt> <strong>-dpi</strong> <em>resolution</em> </dt> <dd> <p>specifies the resolution of the output image in dots per inch,</p> </dd> <dt> <strong>-validate</strong> </dt> <dd> <p>specifies that the source SVG files must be validated against their DTDs,</p> </dd> <dt> <strong>-onload</strong> </dt> <dd> <p>specifies that the SVG files should be rasterized after dispatching the SVG load event,</p> </dd> <dt> <strong>-scriptSecurityOff</strong> </dt> <dd> <p>specifies that any security checks on the scripts running as a result of dispatching the SVG load event will be bypassed, and</p> </dd> <dt> <strong>-scripts</strong> <em>allowed-script-types</em> </dt> <dd> <p>specifies a list of script types (i.e., values for the <span class="codefrag">type</span> attribute on <span class="codefrag">script</span> elements) that should be loaded.</p> </dd> </dl> <p> For example: </p> <pre class="code">java -jar batik-rasterizer.jar -d myDir -m image/jpeg samples/*.svg</pre> <p> will generate JPEG images for all the SVG files found in the samples directory. </p> <a name="N101A1"></a><a name="usingSource"></a> <h3 class="boxed">Using the source distribution</h3> <p> If you downloaded the source distribution of Batik, you got a zip or tar file that expanded into a directory called <span class="codefrag">xml-batik</span> or <span class="codefrag">batik-version</span>. In that directory, you can find build scripts for the platform you are running on. For example, there is a <span class="codefrag">build.bat</span> script for users of the Windows platform and there is a <span class="codefrag">build.sh</span> script for UNIX users. </p> <p> To start the rasterizer you should: </p> <ul> <li> Make sure that your <span class="codefrag">JAVA_HOME</span> environment variable is set to your JDK installation directory. </li> <li> Open a command line window and go to the <span class="codefrag">xml-batik</span> or <span class="codefrag">batik-version</span> directory where the Batik distribution was expanded. </li> <li> <p>For windows, type the following at the command prompt:</p> <pre class="code">build svgrasterizer</pre> <p>and for Unix:</p> <pre class="code">./build.sh svgrasterizer</pre> <p>This will print out a help message for the rasterizer.</p> </li> </ul> <p> You can pass options to the rasterizer as follows, for Windows: </p> <pre class="code">build svgrasterizer <em>[OPTIONS] FILES</em> </pre> <p> and for Unix: </p> <pre class="code">./build.sh svgrasterizer <em>[OPTIONS] FILES</em> </pre> <p> Refer to <a href="#using-binary">&ldquo;Using the binary distribution&rdquo;</a> for an explanation of the options. </p> </div> <a name="N101FE"></a><a name="task"></a> <h2 class="boxed">Rasterizer Ant task</h2> <div class="section"> <p> The Rasterizer task is an <a class="external" href="http://ant.apache.org/">Ant</a> version of the rasterizer utility. It fulfills the same basic purpose as the utility but has a different syntax and a slightly different set of features. </p> <p> The task is able to produce four raster formats: <abbr title="Portable Network Graphics">PNG</abbr>, <abbr title="Joint Photographic Expert Group">JPEG</abbr>, <abbr title="Tagged Image File Format">TIFF</abbr> and <abbr title="Portable Document Format">PDF</abbr>. </p> <a name="N1021E"></a><a name="initTask"></a> <h3 class="boxed">Using the rasterizer task</h3> <p> The first thing to do is to compile rasterizer task classes. Download the source distribution of Batik and see the <span class="codefrag">README</span> file in the <span class="codefrag">contrib/rasterizertask</span> directory for more instructions. The build procedure works the same way as when building Batik itself. </p> <p> After building, ensure that the generated <span class="codefrag">batik-rasterizer.jar</span> and the classes (or jar file) of the rasterizer task are in your <span class="codefrag">CLASSPATH</span>. </p> <p> Next you have to define the task in your Ant project. To do this, add the following line either after the <span class="codefrag">project</span> start tag or after the <span class="codefrag">target</span> start tag in the target you are using the rasterizer task: </p> <pre class="code"> &lt;taskdef name="rasterize" classname="org.apache.tools.ant.taskdefs.optional.RasterizerTask"/&gt;</pre> <p> Now you can use the rasterizer task in your project. See the <a href="#taskParameters">parameters section</a> for an explanation of the available parameters or the <a href="#taskExamples">examples section</a> to see few usage examples. </p> <a name="N1024F"></a><a name="taskParameters"></a> <h3 class="boxed">Parameters of the Ant task</h3> <p> The following table lists the attributes that may be specified on the <span class="codefrag">rasterize</span> task element. </p> <table class="ForrestTable" cellspacing="1" cellpadding="4"> <tr> <th colspan="1" rowspan="1">Attribute</th> <th colspan="1" rowspan="1">Description</th> <th colspan="1" rowspan="1">Required</th> </tr> <tr> <td colspan="1" rowspan="1">result</td> <td colspan="1" rowspan="1"> Sets the type of the result image. Only one of the following values must be used: <span class="codefrag">image/png</span>, <span class="codefrag">image/jpeg</span>, <span class="codefrag">image/tiff</span> and <span class="codefrag">application/pdf</span>. The value must be in lowercase letters. </td> <td colspan="1" rowspan="1">Yes</td> </tr> <tr> <td colspan="1" rowspan="1">height</td> <td colspan="1" rowspan="1"> Sets the height of the result image in pixels. The task calculates the height from the SVG file if this parameter has not been set. The rasterizer keeps the aspect ratio of the SVG file even if the both <span class="codefrag">height</span> and <span class="codefrag">width</span> have been set. </td> <td colspan="1" rowspan="1">No</td> </tr> <tr> <td colspan="1" rowspan="1">width</td> <td colspan="1" rowspan="1"> Sets the width of the result image in pixels. The task calculates the width from the SVG file if this parameter has not been set. The rasterizer keeps the aspect ratio of the SVG file even if the both <span class="codefrag">height</span> and <span class="codefrag">width</span> have been set. </td> <td colspan="1" rowspan="1">No</td> </tr> <tr> <td colspan="1" rowspan="1">maxheight</td> <td colspan="1" rowspan="1"> Sets the maximum height of the result image in pixels. The image won&rsquo;t be higher than defined in this parameter, regardless of the size set in the image itself or in other parameters. This is a floating point value. </td> <td colspan="1" rowspan="1">No</td> </tr> <tr> <td colspan="1" rowspan="1">maxwidth</td> <td colspan="1" rowspan="1"> Sets the maximum width of the result image in pixels. The image won&rsquo;t be wider than defined in this parameter, regardless of the size set in the image itself or in other parameters. This is a floating point value. </td> <td colspan="1" rowspan="1">No</td> </tr> <tr> <td colspan="1" rowspan="1">quality</td> <td colspan="1" rowspan="1"> Sets the quality of the produced image. The value must be greater than 0 but smaller than 1, larger numbers meaning higher quality. The quality value is used only with JPEG images. The default quality value is 0.99. </td> <td colspan="1" rowspan="1">No</td> </tr> <tr> <td colspan="1" rowspan="1">area</td> <td colspan="1" rowspan="1"> Defines the area in the SVG file which will be rasterized. Parts outside this area are discarded and don&rsquo;t show in the result image. The area attribute value has four integers separated by commas. The first two integers set the x and y coordinates of the upper left corner of the area, respectively. The last two integers set the width and height of the area, respectively. For example, <span class="codefrag">10, 20, 100, 200</span> sets the rectangular area from point <span class="codefrag">10, 10</span> to point <span class="codefrag">110, 220</span>. The specified area is applied to all images if more than one file is rasterized during one task. </td> <td colspan="1" rowspan="1">No</td> </tr> <tr> <td colspan="1" rowspan="1">bg</td> <td colspan="1" rowspan="1"> Sets the background color of the result image. The <span class="codefrag">bg</span> attribute value is either three or four integers separated with commas. The four values are alpha channel, red, green, and blue, respectively. If only three values are given, then the values are red, green, and blue and the alpha channel is automatically set to 255 (opaque). All values have to between 0 and 255. The default value is none which means that background is transparent and not filled with any color. </td> <td colspan="1" rowspan="1">No</td> </tr> <tr> <td colspan="1" rowspan="1">media</td> <td colspan="1" rowspan="1"> CSS media type that is used to select a CSS stylesheet. The selected stylesheet is then used to rasterize the SVG files. Only the visual media group is supported (see the <a class="external" href="http://www.w3.org/TR/REC-CSS2/">CSS2 specification</a> for more information about media groups). The default value is <span class="codefrag">screen</span>. </td> <td colspan="1" rowspan="1">No</td> </tr> <tr> <td colspan="1" rowspan="1">dpi</td> <td colspan="1" rowspan="1"> Resolution for the result image. The attribute value is used to compute the &ldquo;pixel to millimeter&rdquo; ratio used when processing SVG files. The default value is 96. </td> <td colspan="1" rowspan="1">No</td> </tr> <tr> <td colspan="1" rowspan="1">lang</td> <td colspan="1" rowspan="1"> Language which is used select language specific areas from the SVG file during the rasterizing process. The valid values are defined in <a class="external" href="http://www.faqs.org/rfcs/rfc3066.html">RFC3066</a>. The default value is <span class="codefrag">en</span>. </td> <td colspan="1" rowspan="1">No</td> </tr> <tr> <td colspan="1" rowspan="1">src</td> <td colspan="1" rowspan="1"> Name of a one input file. Use this parameter to convert just one file whose name and location are known. The <span class="codefrag">dest</span> parameter must also be given. </td> <td colspan="1" rowspan="1"> One of the following is required: <span class="codefrag">src</span> attribute, <span class="codefrag">srcdir</span> attribute or <span class="codefrag">fileset</span> element(s). </td> </tr> <tr> <td colspan="1" rowspan="1">dest</td> <td colspan="1" rowspan="1"> Name of a one output file. Used this with <span class="codefrag">src</span> parameter only. The output directory is created if it doesn&rsquo;t exist. </td> <td colspan="1" rowspan="1">Required if <span class="codefrag">src</span> is used.</td> </tr> <tr> <td colspan="1" rowspan="1">srcdir</td> <td colspan="1" rowspan="1"> Name of the input directory. <span class="codefrag">srcdir</span> and <span class="codefrag">fileset</span> elements can be combined and <span class="codefrag">srcdir</span> can be omitted if there is at least one <span class="codefrag">fileset</span> child element. <span class="codefrag">srcdir</span> file selection can be controlled with <span class="codefrag">include</span>, <span class="codefrag">exclude</span>, etc. child elements. Note that without control parameters the task tries to rasterize <em>all</em> files in the given directory. </td> <td colspan="1" rowspan="1"> One of the following is required: <span class="codefrag">src</span> attribute, <span class="codefrag">srcdir</span> attribute or <span class="codefrag">fileset</span> element(s). </td> </tr> <tr> <td colspan="1" rowspan="1">destdir</td> <td colspan="1" rowspan="1"> Name of an output directory. Use this with the <span class="codefrag">srcdir</span> attribute or <span class="codefrag">fileset</span> elements. The task generates the names of the output images by changing the suffix of the input file names to correspond the result image type. A suffix is added if the input file doesn&rsquo;t have one. Output directories are created if they don&rsquo;t exist. </td> <td colspan="1" rowspan="1"> Required if <span class="codefrag">srcdir</span> attribute or <span class="codefrag">fileset</span> elements are used. </td> </tr> <tr> <td colspan="1" rowspan="1">classname</td> <td colspan="1" rowspan="1"> Class name of the XML parser used to parse SVG images. The value can be either the complete classname with package information included or the special name <span class="codefrag">jaxp</span>, which means any available parser in the <span class="codefrag">CLASSPATH</span> that supports JAXP. See the Batik code for the default value. </td> <td colspan="1" rowspan="1">No</td> </tr> </table> <p> You can use <span class="codefrag">fileset</span> elements to select input files and directories. See the <a class="external" href="http://ant.apache.org/">Ant</a> documentation to learn how to use <a class="external" href="http://ant.apache.org/manual/CoreTypes/fileset.html">filesets</a>. </p> <a name="N10416"></a><a name="taskExamples"></a> <h3 class="boxed">Examples of using the rasterizer task</h3> <p> The following example is the complete Ant project that converts an SVG image (called <span class="codefrag">input.svg</span>) to a PNG image (called <span class="codefrag">output.png</span>): </p> <pre class="code">&lt;?xml version="1.0"?&gt; &lt;project name="RasterizerExample" default="main" basedir="."&gt; &lt;taskdef name="rasterize" classname="org.apache.tools.ant.taskdefs.optional.RasterizerTask"/&gt; &lt;target name="main"&gt; &lt;rasterize result="image/png" src="input.svg" dest="output.png"/&gt; &lt;/target&gt; &lt;/project&gt;</pre> <p> The next example is just one task in a project. It converts all files with a <span class="codefrag">.svg</span> suffix in the <span class="codefrag">images</span> directory and all files in the <span class="codefrag">images2</span> directory to TIFF images. The resulting image files are placed in the <span class="codefrag">results</span> directory. </p> <pre class="code"> &lt;rasterize result="image/tiff" destdir="results"&gt; &lt;fileset dir="images"&gt; &lt;include name="**/*.svg"/&gt; &lt;/fileset&gt; &lt;fileset dir="images2"/&gt; &lt;/rasterize&gt;</pre> </div> </div> <!--+ |end content +--> <div class="clearboth">&nbsp;</div> </div> <div id="footer"> <!--+ |start bottomstrip +--> <div class="lastmodified"> <script type="text/javascript"><!-- document.write("Last Published: " + document.lastModified); // --></script> </div> <div class="copyright"> Copyright &copy; 2000&ndash;2008 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a> </div> <!--+ |end bottomstrip +--> </div> </body> </html>
evilwan/raptor-chess-interface
raptor-chess-set-creator/batik-1.7/docs/tools/rasterizer.html
HTML
bsd-3-clause
29,331
<mat-sidenav-container class="example-container" *ngIf="shouldRun"> <mat-sidenav #sidenav mode="side" [(opened)]="opened" (opened)="events.push('open!')" (closed)="events.push('close!')"> Sidenav content </mat-sidenav> <mat-sidenav-content> <p><mat-checkbox [(ngModel)]="opened">sidenav.opened</mat-checkbox></p> <p><button mat-button (click)="sidenav.toggle()">sidenav.toggle()</button></p> <p>Events:</p> <div class="example-events"> <div *ngFor="let e of events">{{e}}</div> </div> </mat-sidenav-content> </mat-sidenav-container> <div *ngIf="!shouldRun">Please open on Stackblitz to see result</div>
nani3105/material2
src/material-examples/sidenav-open-close/sidenav-open-close-example.html
HTML
mit
658
{%- if show_source and has_source and sourcename %} <h3>{{ _('This Page') }}</h3> <ul class="this-page-menu"> <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">{{ _('Show Source') }}</a></li> {%- if show_on_github_url %} <li><a href="{{ show_on_github_url }}" rel="nofollow">{{ _('Show on GitHub') }}</a></li> {%- endif %} {%- if edit_on_github_url %} <li><a href="{{ edit_on_github_url }}" rel="nofollow">{{ _('Edit on GitHub') }}</a></li> {%- endif %} </ul> {%- endif %}
Weasyl/weasyl
weasyl-apidocs/source/_templates/sourcelink.html
HTML
apache-2.0
558
<!DOCTYPE html> <!-- Copyright (c) 2013 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the original copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this work without specific prior written permission. THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: Xu, Kang <kangx.xu@intel.com> --> <meta charset='utf-8'> <title>DeviceCapabilities Test: VideoCodec_encode_attribute</title> <link rel="author" title="Intel" href="http://www.intel.com/"> <link rel="help" href="http://www.w3.org/2012/sysapps/device-capabilities/"> <script src="../resources/testharness.js"></script> <script src="../resources/testharnessreport.js"></script> <script src="./support/support.js"></script> <div id="log"></div> <script> var t = async_test("Check if the readonly attribute VideoCodec.encode exists and typeof boolean", {timeout: 2000}); t.step(function () { assert_true(!!system, "The Navigator support system"); system.getAVCodecs().then( function (info) { t.step(function () { var video = info.videoCodecs[0]; assert_true("encode" in video, "The VideoCodec.encode exists"); assert_equals(typeof video.encode, "boolean", "The type of VideoCodec.encode"); var flag = video.encode; video.encode = !flag; assert_equals(video.encode, flag, "The VideoCodec.encode"); }); t.done(); }, function (error) { t.step(function () { assert_unreached(error.message); }); t.done(); } ); }); </script>
haoxli/web-testing-service
wts/tests/devicecapabilities/VideoCodec_encode_attribute.html
HTML
bsd-3-clause
2,693
<!DOCTYPE html> <meta charset="utf-8"> <title>Parent is site-keyed, subdomain child 1 is origin-keyed, non-subdomain but different-port child 2 is site-keyed</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <div id="log"></div> <script type="module"> import { insertIframe, testSameAgentCluster, testDifferentAgentClusters, testGetter } from "../resources/helpers.mjs"; promise_setup(async () => { // Order of loading should not matter, but we make it sequential to ensure the // tests are deterministic. await insertIframe("{{hosts[][www]}}", "?1"); await insertIframe("{{hosts[][]}}:{{ports[https][1]}}"); }); // Everyone is different-origin, so everyone's request/non-request is // respected. // // So, the parent and child2 end up in the site-keyed agent cluster, and child1 // ends up in an origin-keyed agent cluster. testDifferentAgentClusters([self, 0], "Parent to child1"); testSameAgentCluster([self, 1], "Parent to child2"); testDifferentAgentClusters([0, 1], "child1 to child2"); testDifferentAgentClusters([1, 0], "child2 to child1"); testGetter(self, false, "parent"); testGetter(0, true, "child1"); testGetter(1, false, "child2"); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/html/browsers/origin/origin-keyed-agent-clusters/2-iframes/parent-no-child1-yes-subdomain-child2-no-port.sub.https.html
HTML
bsd-3-clause
1,242
<!DOCTYPE html> <meta charset="utf-8"> <meta name="timeout" content="long"> <title>Moving script elements between documents</title> <!-- This is generated by tools/generate.py. Do not manually edit. --> <link rel="help" href="https://html.spec.whatwg.org/multipage/#execute-the-script-block"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="resources/moving-between-documents-helper.js"></script> <body> <script> runTest("before-prepare", "iframe", "success", "empty-src", "classic"); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/html/semantics/scripting-1/the-script-element/moving-between-documents/before-prepare-iframe-success-empty-src-classic.html
HTML
bsd-3-clause
567
<!-- Generated by Rakefile:build --> <strong> <a href="http://kevin.vanzonneveld.net" rel="nofollow">Kevin van Zonneveld</a> </strong> on 2009-08-16 15:19:18 <br /> @ Tim de Koning: Thanks for pointing that out. <hr /> <strong> <a href="http://www.kingsquare.nl" rel="nofollow">Tim de Koning</a> </strong> on 2009-08-06 13:17:58 <br /> Please note that there is a difference between the handling of large numbers in different browsers. e.g. IE8 <pre><code> &gt;&gt;decbin(3747030078639374300) &quot;1.101000000000000100000000000010000000000000001(e+61)&quot; </code></pre> Firefox 3.5 <pre><code> &gt;&gt;&gt; decbin(3747030078639374300) &quot;11010000000000001000000000000100000000000000010000000000000000&quot; </code></pre> This is caused by the fact that Number.toString(2) doesn't work in IE for numbers written in scientific notation internally. <hr /> <strong> <a href="http://brett-zamir.me" rel="nofollow">Brett Zamir</a> </strong> on 2009-08-05 03:58:58 <br /> @nord_ua: Thanks for the report! Fixed in SVN... <hr /> <strong> nord_ua </strong> on 2009-08-04 12:23:28 <br /> <pre><code> decbin(-3) </code></pre> -11 <hr /> <strong> ben </strong> on 2008-11-06 21:21:58 <br /> wow!!! so cool!!! <hr /> <strong> Onno Marsman </strong> on 2008-10-04 11:56:57 <br /> decbin('8') does not work correctly. A fix: <pre><code> function decbin(number) { return parseInt(number).toString(2); } </code></pre> <hr />
Mazbaul/phpjs
_octopress/source/functions/decbin/_comments.html
HTML
mit
1,442
<!doctype html> <!-- Material Design Lite Copyright 2015 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License --> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps."> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Material Design Lite</title> <!-- Add to homescreen for Chrome on Android --> <meta name="mobile-web-app-capable" content="yes"> <link rel="icon" sizes="192x192" href="images/touch/chrome-touch-icon-192x192.png"> <!-- Add to homescreen for Safari on iOS --> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-title" content="Material Design Lite"> <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png"> <!-- Tile icon for Win8 (144x144 + tile color) --> <meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png"> <meta name="msapplication-TileColor" content="#3372DF"> <!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones --> <!-- <link rel="canonical" href="http://www.example.com/"> --> <link href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link rel="stylesheet" href="material.min.css"> <link rel="stylesheet" href="styles.css"> <style> #view-source { position: fixed; display: block; right: 0; bottom: 0; margin-right: 40px; margin-bottom: 40px; z-index: 900; } </style> </head> <body> <div class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header"> <header class="demo-header mdl-layout__header mdl-color--white mdl-color--grey-100 mdl-color-text--grey-600"> <div class="mdl-layout__header-row"> <span class="mdl-layout-title">Home</span> <div class="mdl-layout-spacer"></div> <div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable"> <label class="mdl-button mdl-js-button mdl-button--icon" for="search"> <i class="material-icons">search</i> </label> <div class="mdl-textfield__expandable-holder"> <input class="mdl-textfield__input" type="text" id="search" /> <label class="mdl-textfield__label" for="search">Enter your query...</label> </div> </div> <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon" id="hdrbtn"> <i class="material-icons">more_vert</i> </button> <ul class="mdl-menu mdl-js-menu mdl-js-ripple-effect mdl-menu--bottom-right" for="hdrbtn"> <li class="mdl-menu__item">About</li> <li class="mdl-menu__item">Contact</li> <li class="mdl-menu__item">Legal information</li> </ul> </div> </header> <div class="demo-drawer mdl-layout__drawer mdl-color--blue-grey-900 mdl-color-text--blue-grey-50"> <header class="demo-drawer-header"> <img src="images/user.jpg" class="demo-avatar"> <div class="demo-avatar-dropdown"> <span>hello@example.com</span> <div class="mdl-layout-spacer"></div> <button id="accbtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"> <i class="material-icons" role="presentation">arrow_drop_down</i> <span class="visuallyhidden">Accounts</span> </button> <ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="accbtn"> <li class="mdl-menu__item">hello@example.com</li> <li class="mdl-menu__item">info@example.com</li> <li class="mdl-menu__item"><i class="material-icons">add</i>Add another account...</li> </ul> </div> </header> <nav class="demo-navigation mdl-navigation mdl-color--blue-grey-800"> <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">home</i>Home</a> <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">inbox</i>Inbox</a> <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">delete</i>Trash</a> <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">report</i>Spam</a> <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">forum</i>Forums</a> <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">flag</i>Updates</a> <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">local_offer</i>Promos</a> <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">shopping_cart</i>Purchases</a> <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">people</i>Social</a> <div class="mdl-layout-spacer"></div> <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">help_outline</i><spna class="visuallyhidden">Help</spna></a> </nav> </div> <main class="mdl-layout__content mdl-color--grey-100"> <div class="mdl-grid demo-content"> <div class="demo-charts mdl-color--white mdl-shadow--2dp mdl-cell mdl-cell--12-col mdl-grid"> <svg fill="currentColor" width="200px" height="200px" viewBox="0 0 1 1" class="demo-chart mdl-cell mdl-cell--4-col mdl-cell--3-col-desktop"> <use xlink:href="#piechart" mask="url(#piemask)" /> <text x="0.5" y="0.5" font-family="Roboto" font-size="0.3" fill="#888" text-anchor="middle" dy="0.1">82<tspan font-size="0.2" dy="-0.07">%</tspan></text> </svg> <svg fill="currentColor" width="200px" height="200px" viewBox="0 0 1 1" class="demo-chart mdl-cell mdl-cell--4-col mdl-cell--3-col-desktop"> <use xlink:href="#piechart" mask="url(#piemask)" /> <text x="0.5" y="0.5" font-family="Roboto" font-size="0.3" fill="#888" text-anchor="middle" dy="0.1">82<tspan dy="-0.07" font-size="0.2">%</tspan></text> </svg> <svg fill="currentColor" width="200px" height="200px" viewBox="0 0 1 1" class="demo-chart mdl-cell mdl-cell--4-col mdl-cell--3-col-desktop"> <use xlink:href="#piechart" mask="url(#piemask)" /> <text x="0.5" y="0.5" font-family="Roboto" font-size="0.3" fill="#888" text-anchor="middle" dy="0.1">82<tspan dy="-0.07" font-size="0.2">%</tspan></text> </svg> <svg fill="currentColor" width="200px" height="200px" viewBox="0 0 1 1" class="demo-chart mdl-cell mdl-cell--4-col mdl-cell--3-col-desktop"> <use xlink:href="#piechart" mask="url(#piemask)" /> <text x="0.5" y="0.5" font-family="Roboto" font-size="0.3" fill="#888" text-anchor="middle" dy="0.1">82<tspan dy="-0.07" font-size="0.2">%</tspan></text> </svg> </div> <div class="demo-graphs mdl-shadow--2dp mdl-color--white mdl-cell mdl-cell--8-col"> <svg fill="currentColor" viewBox="0 0 500 250" class="demo-graph"> <use xlink:href="#chart"/> </svg> <svg fill="currentColor" viewBox="0 0 500 250" class="demo-graph"> <use xlink:href="#chart"/> </svg> </div> <div class="demo-cards mdl-cell mdl-cell--4-col mdl-cell--8-col-tablet mdl-grid mdl-grid--no-spacing"> <div class="demo-updates mdl-card mdl-shadow--2dp mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--12-col-desktop"> <div class="mdl-card__title mdl-card--expand mdl-color--teal-300"> <h2 class="mdl-card__title-text">Updates</h2> </div> <div class="mdl-card__supporting-text mdl-color-text--grey-600"> Non dolore elit adipisicing ea reprehenderit consectetur culpa. </div> <div class="mdl-card__actions mdl-card--border"> <a href="#" class="mdl-button mdl-js-button mdl-js-ripple-effect">Read More</a> </div> </div> <div class="demo-separator mdl-cell--1-col"></div> <div class="demo-options mdl-card mdl-color--deep-purple-500 mdl-shadow--2dp mdl-cell mdl-cell--4-col mdl-cell--3-col-tablet mdl-cell--12-col-desktop"> <div class="mdl-card__supporting-text mdl-color-text--blue-grey-50"> <h3>View options</h3> <ul> <li> <label for="chkbox1" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> <input type="checkbox" id="chkbox1" class="mdl-checkbox__input" /> <span class="mdl-checkbox__label">Click per object</span> </label> </li> <li> <label for="chkbox2" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> <input type="checkbox" id="chkbox2" class="mdl-checkbox__input" /> <span class="mdl-checkbox__label">Views per object</span> </label> </li> <li> <label for="chkbox3" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> <input type="checkbox" id="chkbox3" class="mdl-checkbox__input" /> <span class="mdl-checkbox__label">Objects selected</span> </label> </li> <li> <label for="chkbox4" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> <input type="checkbox" id="chkbox4" class="mdl-checkbox__input" /> <span class="mdl-checkbox__label">Objects viewed</span> </label> </li> </ul> </div> <div class="mdl-card__actions mdl-card--border"> <a href="#" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-color-text--blue-grey-50">Change location</a> <div class="mdl-layout-spacer"></div> <i class="material-icons">location_on</i> </div> </div> </div> </div> </main> </div> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" style="position: fixed; left: -1000px; height: -1000px;"> <defs> <mask id="piemask" maskContentUnits="objectBoundingBox"> <circle cx=0.5 cy=0.5 r=0.49 fill="white" /> <circle cx=0.5 cy=0.5 r=0.40 fill="black" /> </mask> <g id="piechart"> <circle cx=0.5 cy=0.5 r=0.5 /> <path d="M 0.5 0.5 0.5 0 A 0.5 0.5 0 0 1 0.95 0.28 z" stroke="none" fill="rgba(255, 255, 255, 0.75)" /> </g> </defs> </svg> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 250" style="position: fixed; left: -1000px; height: -1000px;"> <defs> <g id="chart"> <g id="Gridlines"> <line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="27.3" x2="468.3" y2="27.3"/> <line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="66.7" x2="468.3" y2="66.7"/> <line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="105.3" x2="468.3" y2="105.3"/> <line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="144.7" x2="468.3" y2="144.7"/> <line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="184.3" x2="468.3" y2="184.3"/> </g> <g id="Numbers"> <text transform="matrix(1 0 0 1 485 29.3333)" fill="#888888" font-family="'Roboto'" font-size="9">500</text> <text transform="matrix(1 0 0 1 485 69)" fill="#888888" font-family="'Roboto'" font-size="9">400</text> <text transform="matrix(1 0 0 1 485 109.3333)" fill="#888888" font-family="'Roboto'" font-size="9">300</text> <text transform="matrix(1 0 0 1 485 149)" fill="#888888" font-family="'Roboto'" font-size="9">200</text> <text transform="matrix(1 0 0 1 485 188.3333)" fill="#888888" font-family="'Roboto'" font-size="9">100</text> <text transform="matrix(1 0 0 1 0 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">1</text> <text transform="matrix(1 0 0 1 78 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">2</text> <text transform="matrix(1 0 0 1 154.6667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">3</text> <text transform="matrix(1 0 0 1 232.1667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">4</text> <text transform="matrix(1 0 0 1 309 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">5</text> <text transform="matrix(1 0 0 1 386.6667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">6</text> <text transform="matrix(1 0 0 1 464.3333 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">7</text> </g> <g id="Layer_5"> <polygon opacity="0.36" stroke-miterlimit="10" points="0,223.3 48,138.5 154.7,169 211,88.5 294.5,80.5 380,165.2 437,75.5 469.5,223.3 "/> </g> <g id="Layer_4"> <polygon stroke-miterlimit="10" points="469.3,222.7 1,222.7 48.7,166.7 155.7,188.3 212,132.7 296.7,128 380.7,184.3 436.7,125 "/> </g> </g> </defs> </svg> <a href="https://github.com/google/material-design-lite/blob/master/templates/dashboard/" target="_blank" id="view-source" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-color--accent mdl-color-text--accent-contrast">View Source</a> <script src="../../material.min.js"></script> </body> </html>
qiujuer/material-design-lite
templates/dashboard/index.html
HTML
apache-2.0
15,578
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" /> <title> com.google.inject.spi | Guice </title> <link href="../../../../../javadoc/assets/android-developer-docs.css" rel="stylesheet" type="text/css" /> <link href="../../../../../javadoc/assets/customizations.css" rel="stylesheet" type="text/css" /> <script src="../../../../../javadoc/assets/search_autocomplete.js" type="text/javascript"></script> <script src="../../../../../javadoc/assets/jquery-resizable.min.js" type="text/javascript"></script> <script src="../../../../../javadoc/assets/android-developer-docs.js" type="text/javascript"></script> <script src="../../../../../javadoc/assets/prettify.js" type="text/javascript"></script> <script type="text/javascript"> setToRoot("../../../../", "../../../../../javadoc/assets/"); </script> <script src="../../../../../javadoc/assets/android-developer-reference.js" type="text/javascript"></script> <script src="../../../../../javadoc/assets/navtree_data.js" type="text/javascript"></script> <script src="../../../../../javadoc/assets/customizations.js" type="text/javascript"></script> <noscript> <style type="text/css"> html,body{overflow:auto;} #body-content{position:relative; top:0;} #doc-content{overflow:visible;border-left:3px solid #666;} #side-nav{padding:0;} #side-nav .toggle-list ul {display:block;} #resize-packages-nav{border-bottom:3px solid #666;} </style> </noscript> </head> <body class="Guice_1.0"> <div id="header"> <div id="headerLeft"> <span id="masthead-title">Guice</span> </div> <div id="headerRight"> <div id="search" > <div id="searchForm"> <form accept-charset="utf-8" class="gsc-search-box" onsubmit="return submit_search()"> <table class="gsc-search-box" cellpadding="0" cellspacing="0"><tbody> <tr> <td class="gsc-input"> <input id="search_autocomplete" class="gsc-input" type="text" size="33" autocomplete="off" title="search developer docs" name="q" value="search developer docs" onFocus="search_focus_changed(this, true)" onBlur="search_focus_changed(this, false)" onkeydown="return search_changed(event, true, '../../../../')" onkeyup="return search_changed(event, false, '../../../../')" /> <div id="search_filtered_div" class="no-display"> <table id="search_filtered" cellspacing=0> </table> </div> </td> <td class="gsc-search-button"> <input type="submit" value="Search" title="search" id="search-button" class="gsc-search-button" /> </td> <td class="gsc-clear-button"> <div title="clear results" class="gsc-clear-button">&nbsp;</div> </td> </tr></tbody> </table> </form> </div><!-- searchForm --> </div><!-- search --> <div id="api-level-toggle"> <input type="checkbox" id="apiLevelCheckbox" onclick="toggleApiLevelSelector(this)" /> <label for="apiLevelCheckbox" class="disabled">Filter by API Level: </label> <select id="apiLevelSelector"> <!-- option elements added by buildApiLevelSelector() --> </select> </div> <script> var SINCE_DATA = [ 'Guice_1.0', 'Guice_2.0', 'Guice_3.0' ]; var SINCE_LABELS = [ 'Guice_1.0', 'Guice_2.0', 'Guice_3.0' ]; buildApiLevelSelector(); addLoadEvent(changeApiLevel); </script> </div> </div><!-- header --> <div class="g-section g-tpl-240" id="body-content"> <div class="g-unit g-first side-nav-resizable" id="side-nav"> <div id="swapper"> <div id="nav-panels"> <div id="resize-packages-nav"> <div id="packages-nav"> <div id="index-links"><nobr> <a href="../../../../packages.html" >Package Index</a> | <a href="../../../../classes.html" >Class Index</a></nobr> </div> <ul> <li class="api apilevel-Guice_1.0"> <a href="../../../../com/google/inject/package-summary.html">com.google.inject</a></li> <li class="api apilevel-Guice_2.0"> <a href="../../../../com/google/inject/assistedinject/package-summary.html">com.google.inject.assistedinject</a></li> <li class="api apilevel-Guice_1.0"> <a href="../../../../com/google/inject/binder/package-summary.html">com.google.inject.binder</a></li> <li class="api apilevel-Guice_3.0"> <a href="../../../../com/google/inject/grapher/package-summary.html">com.google.inject.grapher</a></li> <li class="api apilevel-Guice_3.0"> <a href="../../../../com/google/inject/grapher/graphviz/package-summary.html">com.google.inject.grapher.graphviz</a></li> <li class="api apilevel-Guice_1.0"> <a href="../../../../com/google/inject/jndi/package-summary.html">com.google.inject.jndi</a></li> <li class="api apilevel-Guice_1.0"> <a href="../../../../com/google/inject/matcher/package-summary.html">com.google.inject.matcher</a></li> <li class="api apilevel-Guice_2.0"> <a href="../../../../com/google/inject/multibindings/package-summary.html">com.google.inject.multibindings</a></li> <li class="api apilevel-Guice_1.0"> <a href="../../../../com/google/inject/name/package-summary.html">com.google.inject.name</a></li> <li class="api apilevel-Guice_3.0"> <a href="../../../../com/google/inject/persist/package-summary.html">com.google.inject.persist</a></li> <li class="api apilevel-Guice_3.0"> <a href="../../../../com/google/inject/persist/finder/package-summary.html">com.google.inject.persist.finder</a></li> <li class="api apilevel-Guice_3.0"> <a href="../../../../com/google/inject/persist/jpa/package-summary.html">com.google.inject.persist.jpa</a></li> <li class="api apilevel-Guice_1.0"> <a href="../../../../com/google/inject/servlet/package-summary.html">com.google.inject.servlet</a></li> <li class="selected api apilevel-Guice_1.0"> <a href="../../../../com/google/inject/spi/package-summary.html">com.google.inject.spi</a></li> <li class="api apilevel-Guice_2.0"> <a href="../../../../com/google/inject/spring/package-summary.html">com.google.inject.spring</a></li> <li class="api apilevel-Guice_2.0"> <a href="../../../../com/google/inject/throwingproviders/package-summary.html">com.google.inject.throwingproviders</a></li> <li class="api apilevel-Guice_1.0"> <a href="../../../../com/google/inject/tools/jmx/package-summary.html">com.google.inject.tools.jmx</a></li> <li class="api apilevel-Guice_2.0"> <a href="../../../../com/google/inject/util/package-summary.html">com.google.inject.util</a></li> </ul><br/> </div> <!-- end packages --> </div> <!-- end resize-packages --> <div id="classes-nav"> <ul> <li><h2>Interfaces</h2> <ul> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/BindingScopingVisitor.html">BindingScopingVisitor</a>&lt;V&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/BindingTargetVisitor.html">BindingTargetVisitor</a>&lt;T,&nbsp;V&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/ConstructorBinding.html">ConstructorBinding</a>&lt;T&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/ConvertedConstantBinding.html">ConvertedConstantBinding</a>&lt;T&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/Element.html">Element</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/ElementVisitor.html">ElementVisitor</a>&lt;V&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/ExposedBinding.html">ExposedBinding</a>&lt;T&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/HasDependencies.html">HasDependencies</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/InjectionListener.html">InjectionListener</a>&lt;I&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/InstanceBinding.html">InstanceBinding</a>&lt;T&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/LinkedKeyBinding.html">LinkedKeyBinding</a>&lt;T&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/PrivateElements.html">PrivateElements</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/ProviderBinding.html">ProviderBinding</a>&lt;T&nbsp;extends&nbsp;<a href="../../../../com/google/inject/Provider.html">Provider</a>&lt;?&gt;&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/ProviderInstanceBinding.html">ProviderInstanceBinding</a>&lt;T&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/ProviderKeyBinding.html">ProviderKeyBinding</a>&lt;T&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/ProviderWithDependencies.html">ProviderWithDependencies</a>&lt;T&gt;</li> <li class="api apilevel-Guice_3.0"><a href="../../../../com/google/inject/spi/ProviderWithExtensionVisitor.html">ProviderWithExtensionVisitor</a>&lt;T&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/TypeConverter.html">TypeConverter</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/TypeEncounter.html">TypeEncounter</a>&lt;I&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/TypeListener.html">TypeListener</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/UntargettedBinding.html">UntargettedBinding</a>&lt;T&gt;</li> </ul> </li> <li><h2>Classes</h2> <ul> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/DefaultBindingScopingVisitor.html">DefaultBindingScopingVisitor</a>&lt;V&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/DefaultBindingTargetVisitor.html">DefaultBindingTargetVisitor</a>&lt;T,&nbsp;V&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/DefaultElementVisitor.html">DefaultElementVisitor</a>&lt;V&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/Dependency.html">Dependency</a>&lt;T&gt;</li> <li class="api apilevel-Guice_3.0"><a href="../../../../com/google/inject/spi/DisableCircularProxiesOption.html">DisableCircularProxiesOption</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/Elements.html">Elements</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/InjectionPoint.html">InjectionPoint</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/InjectionRequest.html">InjectionRequest</a>&lt;T&gt;</li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/InterceptorBinding.html">InterceptorBinding</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/MembersInjectorLookup.html">MembersInjectorLookup</a>&lt;T&gt;</li> <li class="api apilevel-Guice_1.0"><a href="../../../../com/google/inject/spi/Message.html">Message</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/ProviderLookup.html">ProviderLookup</a>&lt;T&gt;</li> <li class="api apilevel-Guice_3.0"><a href="../../../../com/google/inject/spi/RequireExplicitBindingsOption.html">RequireExplicitBindingsOption</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/ScopeBinding.html">ScopeBinding</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/StaticInjectionRequest.html">StaticInjectionRequest</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/TypeConverterBinding.html">TypeConverterBinding</a></li> <li class="api apilevel-Guice_2.0"><a href="../../../../com/google/inject/spi/TypeListenerBinding.html">TypeListenerBinding</a></li> </ul> </li> <li><h2>Annotations</h2> <ul> <li class="api apilevel-Guice_3.0"><a href="../../../../com/google/inject/spi/Toolable.html">Toolable</a></li> </ul> </li> </ul><br/> </div><!-- end classes --> </div><!-- end nav-panels --> <div id="nav-tree" style="display:none"> <div id="index-links"><nobr> <a href="../../../../packages.html" >Package Index</a> | <a href="../../../../classes.html" >Class Index</a></nobr> </div> </div><!-- end nav-tree --> </div><!-- end swapper --> </div> <!-- end side-nav --> <script> if (!isMobile) { $("<a href='#' id='nav-swap' onclick='swapNav();return false;' style='font-size:10px;line-height:9px;margin-left:1em;text-decoration:none;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>").appendTo("#side-nav"); chooseDefaultNav(); if ($("#nav-tree").is(':visible')) { init_default_navtree("../../../../"); } else { addLoadEvent(function() { scrollIntoView("packages-nav"); scrollIntoView("classes-nav"); }); } $("#swapper").css({borderBottom:"2px solid #aaa"}); } else { swapNav(); // tree view should be used on mobile } </script> <div class="g-unit" id="doc-content"> <div id="api-info-block"> <div class="api-level"> Since: <a href="../../../../guide/appendix/api-levels.html#levelGuice_1.0">API Level Guice_1.0</a> </div> </div> <div id="jd-header"> package <h1>com.google.inject.spi</h1> <div class="jd-nav"> Classes | <a class="jd-navlink" href="package-descr.html">Description</a> </div> </div><!-- end header --> <div id="naMessage"></div> <div id="jd-content" class="api apilevel-Guice_1.0"> <div class="jd-descr"> <p>Guice service provider interface </p> </div> <h3>Interfaces</h3> <div class="jd-sumtable"> <table class="jd-sumtable-expando"> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/BindingScopingVisitor.html">BindingScopingVisitor</a>&lt;V&gt;</td> <td class="jd-descrcol" width="100%">Visits each of the strategies used to scope an injection.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/BindingTargetVisitor.html">BindingTargetVisitor</a>&lt;T,&nbsp;V&gt;</td> <td class="jd-descrcol" width="100%">Visits each of the strategies used to find an instance to satisfy an injection.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ConstructorBinding.html">ConstructorBinding</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A binding to the constructor of a concrete clss.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ConvertedConstantBinding.html">ConvertedConstantBinding</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A binding created from converting a bound instance to a new type.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/Element.html">Element</a></td> <td class="jd-descrcol" width="100%">A core component of a module or injector.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ElementVisitor.html">ElementVisitor</a>&lt;V&gt;</td> <td class="jd-descrcol" width="100%">Visit elements.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ExposedBinding.html">ExposedBinding</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A binding to a key exposed from an enclosed private environment.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/HasDependencies.html">HasDependencies</a></td> <td class="jd-descrcol" width="100%">Implemented by <code><a href="../../../../com/google/inject/Binding.html">bindings</a></code>, <code><a href="../../../../com/google/inject/Provider.html">providers</a></code> and instances that expose their dependencies explicitly.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/InjectionListener.html">InjectionListener</a>&lt;I&gt;</td> <td class="jd-descrcol" width="100%">Listens for injections into instances of type <code>I</code>.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/InstanceBinding.html">InstanceBinding</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A binding to a single instance.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/LinkedKeyBinding.html">LinkedKeyBinding</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A binding to a linked key.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/PrivateElements.html">PrivateElements</a></td> <td class="jd-descrcol" width="100%">A private collection of elements that are hidden from the enclosing injector or module by default.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ProviderBinding.html">ProviderBinding</a>&lt;T&nbsp;extends&nbsp;<a href="../../../../com/google/inject/Provider.html">Provider</a>&lt;?&gt;&gt;</td> <td class="jd-descrcol" width="100%">A binding to a <code><a href="../../../../com/google/inject/Provider.html">Provider</a></code> that delegates to the binding for the provided type.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ProviderInstanceBinding.html">ProviderInstanceBinding</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A binding to a provider instance.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ProviderKeyBinding.html">ProviderKeyBinding</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A binding to a provider key.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ProviderWithDependencies.html">ProviderWithDependencies</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A provider with dependencies on other injected types.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_3.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ProviderWithExtensionVisitor.html">ProviderWithExtensionVisitor</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A Provider that is part of an extension which supports a custom BindingTargetVisitor.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/TypeConverter.html">TypeConverter</a></td> <td class="jd-descrcol" width="100%">Converts constant string values to a different type.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/TypeEncounter.html">TypeEncounter</a>&lt;I&gt;</td> <td class="jd-descrcol" width="100%">Context of an injectable type encounter.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/TypeListener.html">TypeListener</a></td> <td class="jd-descrcol" width="100%">Listens for Guice to encounter injectable types.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/UntargettedBinding.html">UntargettedBinding</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">An untargetted binding.&nbsp;</td> </tr> </table> </div> <h3>Classes</h3> <div class="jd-sumtable"> <table class="jd-sumtable-expando"> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/DefaultBindingScopingVisitor.html">DefaultBindingScopingVisitor</a>&lt;V&gt;</td> <td class="jd-descrcol" width="100%">No-op visitor for subclassing.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/DefaultBindingTargetVisitor.html">DefaultBindingTargetVisitor</a>&lt;T,&nbsp;V&gt;</td> <td class="jd-descrcol" width="100%">No-op visitor for subclassing.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/DefaultElementVisitor.html">DefaultElementVisitor</a>&lt;V&gt;</td> <td class="jd-descrcol" width="100%">No-op visitor for subclassing.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/Dependency.html">Dependency</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A variable that can be resolved by an injector.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_3.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/DisableCircularProxiesOption.html">DisableCircularProxiesOption</a></td> <td class="jd-descrcol" width="100%">A request to disable circular proxies.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/Elements.html">Elements</a></td> <td class="jd-descrcol" width="100%">Exposes elements of a module so they can be inspected, validated or <code><a href="../../../../com/google/inject/spi/Element.html#applyTo(com.google.inject.Binder)">rewritten</a></code>.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/InjectionPoint.html">InjectionPoint</a></td> <td class="jd-descrcol" width="100%">A constructor, field or method that can receive injections.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/InjectionRequest.html">InjectionRequest</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A request to inject the instance fields and methods of an instance.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/InterceptorBinding.html">InterceptorBinding</a></td> <td class="jd-descrcol" width="100%">Registration of interceptors for matching methods of matching classes.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/MembersInjectorLookup.html">MembersInjectorLookup</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A lookup of the members injector for a type.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_1.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/Message.html">Message</a></td> <td class="jd-descrcol" width="100%">An error message and the context in which it occured.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ProviderLookup.html">ProviderLookup</a>&lt;T&gt;</td> <td class="jd-descrcol" width="100%">A lookup of the provider for a type.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_3.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/RequireExplicitBindingsOption.html">RequireExplicitBindingsOption</a></td> <td class="jd-descrcol" width="100%">A request to require explicit bindings.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/ScopeBinding.html">ScopeBinding</a></td> <td class="jd-descrcol" width="100%">Registration of a scope annotation with the scope that implements it.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/StaticInjectionRequest.html">StaticInjectionRequest</a></td> <td class="jd-descrcol" width="100%">A request to inject the static fields and methods of a type.&nbsp;</td> </tr> <tr class=" api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/TypeConverterBinding.html">TypeConverterBinding</a></td> <td class="jd-descrcol" width="100%">Registration of type converters for matching target types.&nbsp;</td> </tr> <tr class="alt-color api apilevel-Guice_2.0" > <td class="jd-linkcol"><a href="../../../../com/google/inject/spi/TypeListenerBinding.html">TypeListenerBinding</a></td> <td class="jd-descrcol" width="100%">Binds types (picked using a Matcher) to an type listener.&nbsp;</td> </tr> </table> </div> <div id="footer"> Generated by <a href="http://code.google.com/p/doclava/">Doclava</a>. </div> <!-- end footer --> </div><!-- end jd-content --> </div><!-- doc-content --> </div> <!-- end body-content --> <script type="text/javascript"> init(); /* initialize android-developer-docs.js */ </script> </body> </html>
sgoldfed/guice
latest-javadoc/com/google/inject/spi/package-summary.html
HTML
apache-2.0
28,217
<!doctype html> <meta charset=utf-8> <title>RTCRtpParameters transactionId</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="dictionary-helper.js"></script> <script src="RTCRtpParameters-helper.js"></script> <script> 'use strict'; // Test is based on the following editor draft: // https://w3c.github.io/webrtc-pc/archives/20170605/webrtc.html // The following helper functions are called from RTCRtpParameters-helper.js: // doOfferAnswerExchange // validateSenderRtpParameters /* 5.1. RTCPeerConnection Interface Extensions partial interface RTCPeerConnection { RTCRtpTransceiver addTransceiver((MediaStreamTrack or DOMString) trackOrKind, optional RTCRtpTransceiverInit init); ... }; dictionary RTCRtpTransceiverInit { RTCRtpTransceiverDirection direction = "sendrecv"; sequence<MediaStream> streams; sequence<RTCRtpEncodingParameters> sendEncodings; }; addTransceiver 2. If the dictionary argument is present, and it has a sendEncodings member, let sendEncodings be that list of RTCRtpEncodingParameters objects, or an empty list otherwise. 7. Create an RTCRtpSender with track, streams and sendEncodings and let sender be the result. 5.2. RTCRtpSender Interface interface RTCRtpSender { Promise<void> setParameters(optional RTCRtpParameters parameters); RTCRtpParameters getParameters(); }; dictionary RTCRtpParameters { DOMString transactionId; sequence<RTCRtpEncodingParameters> encodings; sequence<RTCRtpHeaderExtensionParameters> headerExtensions; RTCRtcpParameters rtcp; sequence<RTCRtpCodecParameters> codecs; }; getParameters - transactionId is set to a new unique identifier, used to match this getParameters call to a setParameters call that may occur later. */ /* 5.2. getParameters - transactionId is set to a new unique identifier, used to match this getParameters call to a setParameters call that may occur later. */ promise_test(async t => { const pc = new RTCPeerConnection(); t.add_cleanup(() => pc.close()); const { sender } = pc.addTransceiver('audio'); await doOfferAnswerExchange(t, pc); const param1 = sender.getParameters(); const param2 = sender.getParameters(); validateSenderRtpParameters(param1); validateSenderRtpParameters(param2); assert_not_equals(param1.transactionId, param2.transactionId); }, `sender.getParameters() should return different transaction IDs for each call`); /* 5.2. setParameters 7. If parameters.encodings.length is different from N, or if any parameter in the parameters argument, marked as a Read-only parameter, has a value that is different from the corresponding parameter value returned from sender.getParameters(), abort these steps and return a promise rejected with a newly created InvalidModificationError. Note that this also applies to transactionId. */ promise_test(async t => { const pc = new RTCPeerConnection(); t.add_cleanup(() => pc.close()); const { sender } = pc.addTransceiver('audio'); await doOfferAnswerExchange(t, pc); const param = sender.getParameters(); validateSenderRtpParameters(param); const { transactionId } = param; param.transactionId = `${transactionId}-modified`; return promise_rejects_dom(t, 'InvalidModificationError', sender.setParameters(param)); }, `sender.setParameters() with transaction ID different from last getParameters() should reject with InvalidModificationError`); promise_test(async t => { const pc = new RTCPeerConnection(); t.add_cleanup(() => pc.close()); const { sender } = pc.addTransceiver('audio'); await doOfferAnswerExchange(t, pc); const param = sender.getParameters(); validateSenderRtpParameters(param); param.transactionId = undefined; return promise_rejects_js(t, TypeError, sender.setParameters(param)); }, `sender.setParameters() with transaction ID unset should reject with TypeError`); promise_test(async t => { const pc = new RTCPeerConnection(); t.add_cleanup(() => pc.close()); const { sender } = pc.addTransceiver('audio'); await doOfferAnswerExchange(t, pc); const param = sender.getParameters(); validateSenderRtpParameters(param); return sender.setParameters(param) .then(() => promise_rejects_dom(t, 'InvalidStateError', sender.setParameters(param))); }, `setParameters() twice with the same parameters should reject with InvalidStateError`); promise_test(async t => { const pc = new RTCPeerConnection(); t.add_cleanup(() => pc.close()); const { sender } = pc.addTransceiver('audio'); await doOfferAnswerExchange(t, pc); const param1 = sender.getParameters(); const param2 = sender.getParameters(); validateSenderRtpParameters(param1); validateSenderRtpParameters(param2); assert_not_equals(param1.transactionId, param2.transactionId); return promise_rejects_dom(t, 'InvalidModificationError', sender.setParameters(param1)); }, `setParameters() with parameters older than last getParameters() should reject with InvalidModificationError`); </script>
chromium/chromium
third_party/blink/web_tests/external/wpt/webrtc/RTCRtpParameters-transactionId.html
HTML
bsd-3-clause
5,643
<!doctype html> <title>CodeMirror: Release History</title> <meta charset="utf-8"/> <link rel=stylesheet href="docs.css"> <script src="activebookmark.js"></script> <div id=nav> <a href="http://codemirror.net"><img id=logo src="logo.png"></a> <ul> <li><a href="../index.html">Home</a> <li><a href="manual.html">Manual</a> <li><a href="https://github.com/marijnh/codemirror">Code</a> </ul> <ul> <li><a class=active data-default="true" href="#v4">Version 4.x</a> <li><a href="#v3">Version 3.x</a> <li><a href="#v2">Version 2.x</a> <li><a href="#v1">Version 0.x</a> </ul> </div> <article> <h2>Release notes and version history</h2> <section id=v4 class=first> <h2>Version 4.x</h2> <p class="rel">19-09-2014: <a href="http://codemirror.net/codemirror-4.6.zip">Version 4.6</a>:</p> <ul class="rel-note"> <li>New mode: <a href="../mode/modelica/index.html">Modelica</a></li> <li>New method: <a href="manual.html#findWordAt"><code>findWordAt</code></a></li> <li>Make it easier to <a href="../demo/markselection.html">use text background styling</a></li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/4.5.0...4.6.0">list of patches</a>.</li> </ul> <p class="rel">21-08-2014: <a href="http://codemirror.net/codemirror-4.5.zip">Version 4.5</a>:</p> <ul class="rel-note"> <li>Fix several serious bugs with horizontal scrolling</li> <li>New mode: <a href="../mode/slim/index.html">Slim</a></li> <li>New command: <a href="manual.html#command_goLineLeftSmart"><code>goLineLeftSmart</code></a></li> <li>More fixes and extensions for the <a href="../demo/vim.html">Vim</a> visual block mode</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/4.4.0...4.5.0">list of patches</a>.</li> </ul> <p class="rel">21-07-2014: <a href="http://codemirror.net/codemirror-4.4.zip">Version 4.4</a>:</p> <ul class="rel-note"> <li><strong>Note:</strong> Some events might now fire in slightly different order (<code>"change"</code> is still guaranteed to fire before <code>"cursorActivity"</code>)</li> <li>Nested operations in multiple editors are now synced (complete at same time, reducing DOM reflows)</li> <li>Visual block mode for <a href="../demo/vim.html">vim</a> (&lt;C-v>) is nearly complete</li> <li>New mode: <a href="../mode/kotlin/index.html">Kotlin</a></li> <li>Better multi-selection paste for text copied from multiple CodeMirror selections</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/4.3.0...4.4.0">list of patches</a>.</li> </ul> <p class="rel">23-06-2014: <a href="http://codemirror.net/codemirror-4.3.zip">Version 4.3</a>:</p> <ul class="rel-note"> <li>Several <a href="../demo/vim.html">vim bindings</a> improvements: search and exCommand history, global flag for <code>:substitute</code>, <code>:global</code> command. <li>Allow hiding the cursor by setting <a href="manual.html#option_cursorBlinkRate"><code>cursorBlinkRate</code></a> to a negative value.</li> <li>Make gutter markers themeable, use this in foldgutter.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/4.2.0...4.3.0">list of patches</a>.</li> </ul> <p class="rel">19-05-2014: <a href="http://codemirror.net/codemirror-4.2.zip">Version 4.2</a>:</p> <ul class="rel-note"> <li>Fix problem where some modes were broken by the fact that empty tokens were forbidden.</li> <li>Several fixes to context menu handling.</li> <li>On undo, scroll <em>change</em>, not cursor, into view.</li> <li>Rewritten <a href="../mode/jade/index.html">Jade</a> mode.</li> <li>Various improvements to <a href="../mode/shell/index.html">Shell</a> (support for more syntax) and <a href="../mode/python/index.html">Python</a> (better indentation) modes.</li> <li>New mode: <a href="../mode/cypher/index.html">Cypher</a>.</li> <li>New theme: <a href="../demo/theme.html?neo">Neo</a>.</li> <li>Support direct styling options (color, line style, width) in the <a href="manual.html#addon_rulers">rulers</a> addon.</li> <li>Recognize per-editor configuration for the <a href="manual.html#addon_show-hint">show-hint</a> and <a href="manual.html#addon_foldcode">foldcode</a> addons.</li> <li>More intelligent scanning for existing close tags in <a href="manual.html#addon_closetag">closetag</a> addon.</li> <li>In the <a href="../demo/vim.html">Vim bindings</a>: Fix bracket matching, support case conversion in visual mode, visual paste, append action.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/4.1.0...4.2.0">list of patches</a>.</li> </ul> <p class="rel">22-04-2014: <a href="http://codemirror.net/codemirror-4.1.zip">Version 4.1</a>:</p> <ul class="rel-note"> <li><em>Slightly incompatible</em>: The <a href="manual.html#event_cursorActivity"><code>"cursorActivity"</code></a> event now fires after all other events for the operation (and only for handlers that were actually registered at the time the activity happened).</li> <li>New command: <a href="manual.html#command_insertSoftTab"><code>insertSoftTab</code></a>.</li> <li>New mode: <a href="../mode/django/index.html">Django</a>.</li> <li>Improved modes: <a href="../mode/verilog/index.html">Verilog</a> (rewritten), <a href="../mode/jinja2/index.html">Jinja2</a>, <a href="../mode/haxe/index.html">Haxe</a>, <a href="../mode/php/index.html">PHP</a> (string interpolation highlighted), <a href="../mode/javascript/index.html">JavaScript</a> (indentation of trailing else, template strings), <a href="../mode/livescript/index.html">LiveScript</a> (multi-line strings).</li> <li>Many small issues from the 3.x→4.x transition were found and fixed.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/4.0.3...4.1.0">list of patches</a>.</li> </ul> <p class="rel">20-03-2014: <a href="http://codemirror.net/codemirror-4.0.zip">Version 4.0</a>:</p> <p class="rel-note">This is a new major version of CodeMirror. There are a few <strong>incompatible</strong> changes in the API. Upgrade with care, and read the <a href="upgrade_v4.html">upgrading guide</a>.</p> <ul class="rel-note"> <li>Multiple selections (ctrl-click, alt-drag, <a href="manual.html#setSelections">API</a>).</li> <li>Sublime Text <a href="../demo/sublime.html">bindings</a>.</li> <li><a href="manual.html#modloader">Module loader shims</a> wrapped around all modules.</li> <li>Selection <a href="manual.html#command_undoSelection">undo</a>/<a href="manual.html#command_redoSelection">redo</a>.</li> <li>Improved character measuring (faster, handles wrapped lines more robustly).</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.23.0...4.0.3">list of patches</a>.</li> </ul> </section> <section id=v3> <h2>Version 3.x</h2> <p class="rel">22-04-2014: <a href="http://codemirror.net/codemirror-3.24.zip">Version 3.24</a>:</p> <p class="rel-note">Merges the improvements from 4.1 that could easily be applied to the 3.x code. Also improves the way the editor size is updated when line widgets change.</p> <p class="rel">20-03-2014: <a href="http://codemirror.net/codemirror-3.23.zip">Version 3.23</a>:</p> <ul class="rel-note"> <li>In the <a href="../mode/xml/index.html">XML mode</a>, add <code>brackets</code> style to angle brackets, fix case-sensitivity of tags for HTML.</li> <li>New mode: <a href="../mode/dylan/index.html">Dylan</a>.</li> <li>Many improvements to the <a href="../demo/vim.html">Vim bindings</a>.</li> </ul> <p class="rel">21-02-2014: <a href="http://codemirror.net/codemirror-3.22.zip">Version 3.22</a>:</p> <ul class="rel-note"> <li>Adds the <a href="manual.html#findMarks"><code>findMarks</code></a> method.</li> <li>New addons: <a href="manual.html#addon_rulers">rulers</a>, markdown-fold, yaml-lint.</li> <li>New theme: <a href="../demo/theme.html?mdn-like">mdn-like</a>.</li> <li>New mode: <a href="../mode/solr/index.html">Solr</a>.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.21.0...3.22.0">list of patches</a>.</li> </ul> <p class="rel">16-01-2014: <a href="http://codemirror.net/codemirror-3.21.zip">Version 3.21</a>:</p> <ul class="rel-note"> <li>Auto-indenting a block will no longer add trailing whitespace to blank lines.</a> <li>Marking text has a new option <a href="manual.html#markText"><code>clearWhenEmpty</code></a> to control auto-removal.</li> <li>Several bugfixes in the handling of bidirectional text.</li> <li>The <a href="../mode/xml/index.html">XML</a> and <a href="../mode/css/index.html">CSS</a> modes were largely rewritten. <a href="../mode/css/less.html">LESS</a> support was added to the CSS mode.</li> <li>The OCaml mode was moved to an <a href="../mode/mllike/index.html">mllike</a> mode, F# support added.</li> <li>Make it possible to fetch multiple applicable helper values with <a href="manual.html#getHelpers"><code>getHelpers</code></a>, and to register helpers matched on predicates with <a href="manual.html#registerGlobalHelper"><code>registerGlobalHelper</code></a>.</li> <li>New theme <a href="../demo/theme.html?pastel-on-dark">pastel-on-dark</a>.</li> <li>Better ECMAScript 6 support in <a href="../mode/javascript/index.html">JavaScript</a> mode.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.20.0...3.21.0">list of patches</a>.</li> </ul> <p class="rel">21-11-2013: <a href="http://codemirror.net/codemirror-3.20.zip">Version 3.20</a>:</p> <ul class="rel-note"> <li>New modes: <a href="../mode/julia/index.html">Julia</a> and <a href="../mode/pegjs/index.html">PEG.js</a>.</li> <li>Support ECMAScript 6 in the <a href="../mode/javascript/index.html">JavaScript mode</a>.</li> <li>Improved indentation for the <a href="../mode/coffeescript/index.html">CoffeeScript mode</a>.</li> <li>Make non-printable-character representation <a href="manual.html#option_specialChars">configurable</a>.</li> <li>Add ‘notification’ functionality to <a href="manual.html#addon_dialog">dialog</a> addon.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.19.0...3.20.0">list of patches</a>.</li> </ul> <p class="rel">21-10-2013: <a href="http://codemirror.net/codemirror-3.19.zip">Version 3.19</a>:</p> <ul class="rel-note"> <li>New modes: <a href="../mode/eiffel/index.html">Eiffel</a>, <a href="../mode/gherkin/index.html">Gherkin</a>, <a href="../mode/sql/?mime=text/x-mssql">MSSQL dialect</a>.</li> <li>New addons: <a href="manual.html#addon_hardwrap">hardwrap</a>, <a href="manual.html#addon_sql-hint">sql-hint</a>.</li> <li>New theme: <a href="../demo/theme.html?mbo">MBO</a>.</li> <li>Add <a href="manual.html#token_style_line">support</a> for line-level styling from mode tokenizers.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.18.0...3.19.0">list of patches</a>.</li> </ul> <p class="rel">23-09-2013: <a href="http://codemirror.net/codemirror-3.18.zip">Version 3.18</a>:</p> <p class="rel-note">Emergency release to fix a problem in 3.17 where <code>.setOption("lineNumbers", false)</code> would raise an error.</p> <p class="rel">23-09-2013: <a href="http://codemirror.net/codemirror-3.17.zip">Version 3.17</a>:</p> <ul class="rel-note"> <li>New modes: <a href="../mode/fortran/index.html">Fortran</a>, <a href="../mode/octave/index.html">Octave</a> (Matlab), <a href="../mode/toml/index.html">TOML</a>, and <a href="../mode/dtd/index.html">DTD</a>.</li> <li>New addons: <a href="../addon/lint/css-lint.js"><code>css-lint</code></a>, <a href="manual.html#addon_css-hint"><code>css-hint</code></a>.</li> <li>Improve resilience to CSS 'frameworks' that globally mess up <code>box-sizing</code>.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.16.0...3.17.0">list of patches</a>.</li> </ul> <p class="rel">21-08-2013: <a href="http://codemirror.net/codemirror-3.16.zip">Version 3.16</a>:</p> <ul class="rel-note"> <li>The whole codebase is now under a single <a href="../LICENSE">license</a> file.</li> <li>The project page was overhauled and redesigned.</li> <li>New themes: <a href="../demo/theme.html?paraiso-dark">Paraiso</a> (<a href="../demo/theme.html?paraiso-light">light</a>), <a href="../demo/theme.html?the-matrix">The Matrix</a>.</li> <li>Improved interaction between themes and <a href="manual.html#addon_active-line">active-line</a>/<a href="manual.html#addon_matchbrackets">matchbrackets</a> addons.</li> <li>New <a href="manual.html#addon_foldcode">folding</a> function <code>CodeMirror.fold.comment</code>.</li> <li>Added <a href="manual.html#addon_fullscreen">fullscreen</a> addon.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.15.0...3.16.0">list of patches</a>.</li> </ul> <p class="rel">29-07-2013: <a href="http://codemirror.net/codemirror-3.15.zip">Version 3.15</a>:</p> <ul class="rel-note"> <li>New modes: <a href="../mode/jade/index.html">Jade</a>, <a href="../mode/nginx/index.html">Nginx</a>.</li> <li>New addons: <a href="../demo/tern.html">Tern</a>, <a href="manual.html#addon_matchtags">matchtags</a>, and <a href="manual.html#addon_foldgutter">foldgutter</a>.</li> <li>Introduced <a href="manual.html#getHelper"><em>helper</em></a> concept (<a href="https://groups.google.com/forum/#!msg/codemirror/cOc0xvUUEUU/nLrX1-qnidgJ">context</a>).</li> <li>New method: <a href="manual.html#getModeAt"><code>getModeAt</code></a>.</li> <li>New themes: base16 <a href="../demo/theme.html?base16-dark">dark</a>/<a href="../demo/theme.html?base16-light">light</a>, 3024 <a href="../demo/theme.html?3024-night">dark</a>/<a href="../demo/theme.html?3024-day">light</a>, <a href="../demo/theme.html?tomorrow-night-eighties">tomorrow-night</a>.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.14.0...3.15.0">list of patches</a>.</li> </ul> <p class="rel">20-06-2013: <a href="http://codemirror.net/codemirror-3.14.zip">Version 3.14</a>:</p> <ul class="rel-note"> <li>New addons: <a href="manual.html#addon_trailingspace">trailing space highlight</a>, <a href="manual.html#addon_xml-hint">XML completion</a> (rewritten), and <a href="manual.html#addon_merge">diff merging</a>.</li> <li><a href="manual.html#markText"><code>markText</code></a> and <a href="manual.html#addLineWidget"><code>addLineWidget</code></a> now take a <code>handleMouseEvents</code> option.</li> <li>New methods: <a href="manual.html#lineAtHeight"><code>lineAtHeight</code></a>, <a href="manual.html#getTokenTypeAt"><code>getTokenTypeAt</code></a>.</li> <li>More precise cleanness-tracking using <a href="manual.html#changeGeneration"><code>changeGeneration</code></a> and <a href="manual.html#isClean"><code>isClean</code></a>.</li> <li>Many extensions to <a href="../demo/emacs.html">Emacs</a> mode (prefixes, more navigation units, and more).</li> <li>New events <a href="manual.html#event_keyHandled"><code>"keyHandled"</code></a> and <a href="manual.html#event_inputRead"><code>"inputRead"</code></a>.</li> <li>Various improvements to <a href="../mode/ruby/index.html">Ruby</a>, <a href="../mode/smarty/index.html">Smarty</a>, <a href="../mode/sql/index.html">SQL</a>, and <a href="../demo/vim.html">Vim</a> modes.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/3.13.0...3.14.0">list of patches</a>.</li> </ul> <p class="rel">20-05-2013: <a href="http://codemirror.net/codemirror-3.13.zip">Version 3.13</a>:</p> <ul class="rel-note"> <li>New modes: <a href="../mode/cobol/index.html">COBOL</a> and <a href="../mode/haml/index.html">HAML</a>.</li> <li>New options: <a href="manual.html#option_cursorScrollMargin"><code>cursorScrollMargin</code></a> and <a href="manual.html#option_coverGutterNextToScrollbar"><code>coverGutterNextToScrollbar</code></a>.</li> <li>New addon: <a href="manual.html#addon_comment">commenting</a>.</li> <li>More features added to the <a href="../demo/vim.html">Vim keymap</a>.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.12...3.13.0">list of patches</a>.</li> </ul> <p class="rel">19-04-2013: <a href="http://codemirror.net/codemirror-3.12.zip">Version 3.12</a>:</p> <ul class="rel-note"> <li>New mode: <a href="../mode/gas/index.html">GNU assembler</a>.</li> <li>New options: <a href="manual.html#option_maxHighlightLength"><code>maxHighlightLength</code></a> and <a href="manual.html#option_historyEventDelay"><code>historyEventDelay</code></a>.</li> <li>Added <a href="manual.html#mark_addToHistory"><code>addToHistory</code></a> option for <code>markText</code>.</li> <li>Various fixes to JavaScript tokenization and indentation corner cases.</li> <li>Further improvements to the vim mode.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.11...v3.12">list of patches</a>.</li> </ul> <p class="rel">20-03-2013: <a href="http://codemirror.net/codemirror-3.11.zip">Version 3.11</a>:</p> <ul class="rel-note"> <li><strong>Removed code:</strong> <code>collapserange</code>, <code>formatting</code>, and <code>simple-hint</code> addons. <code>plsql</code> and <code>mysql</code> modes (use <a href="../mode/sql/index.html"><code>sql</code></a> mode).</li> <li><strong>Moved code:</strong> the range-finding functions for folding now have <a href="../addon/fold/">their own files</a>.</li> <li><strong>Changed interface:</strong> the <a href="manual.html#addon_continuecomment"><code>continuecomment</code></a> addon now exposes an option, rather than a command.</li> <li>New modes: <a href="../mode/css/scss.html">SCSS</a>, <a href="../mode/tcl/index.html">Tcl</a>, <a href="../mode/livescript/index.html">LiveScript</a>, and <a href="../mode/mirc/index.html">mIRC</a>.</li> <li>New addons: <a href="../demo/placeholder.html"><code>placeholder</code></a>, <a href="../demo/html5complete.html">HTML completion</a>.</li> <li>New methods: <a href="manual.html#hasFocus"><code>hasFocus</code></a>, <a href="manual.html#defaultCharWidth"><code>defaultCharWidth</code></a>.</li> <li>New events: <a href="manual.html#event_beforeCursorEnter"><code>beforeCursorEnter</code></a>, <a href="manual.html#event_renderLine"><code>renderLine</code></a>.</li> <li>Many improvements to the <a href="manual.html#addon_show-hint"><code>show-hint</code></a> completion dialog addon.</li> <li>Tweak behavior of by-word cursor motion.</li> <li>Further improvements to the <a href="../demo/vim.html">vim mode</a>.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.1...v3.11">list of patches</a>.</li> </ul> <p class="rel">21-02-2013: <a href="http://codemirror.net/codemirror-3.1.zip">Version 3.1</a>:</p> <ul class="rel-note"> <li><strong>Incompatible:</strong> key handlers may now <em>return</em>, rather than <em>throw</em> <code>CodeMirror.Pass</code> to signal they didn't handle the key.</li> <li>Make documents a <a href="manual.html#api_doc">first-class construct</a>, support split views and subviews.</li> <li>Add a <a href="manual.html#addon_show-hint">new module</a> for showing completion hints. Deprecate <code>simple-hint.js</code>.</li> <li>Extend <a href="../mode/htmlmixed/index.html">htmlmixed mode</a> to allow custom handling of script types.</li> <li>Support an <code>insertLeft</code> option to <a href="manual.html#setBookmark"><code>setBookmark</code></a>.</li> <li>Add an <a href="manual.html#eachLine"><code>eachLine</code></a> method to iterate over a document.</li> <li>New addon modules: <a href="../demo/markselection.html">selection marking</a>, <a href="../demo/lint.html">linting</a>, and <a href="../demo/closebrackets.html">automatic bracket closing</a>.</li> <li>Add <a href="manual.html#event_beforeChange"><code>"beforeChange"</code></a> and <a href="manual.html#event_beforeSelectionChange"><code>"beforeSelectionChange"</code></a> events.</li> <li>Add <a href="manual.html#event_hide"><code>"hide"</code></a> and <a href="manual.html#event_unhide"><code>"unhide"</code></a> events to marked ranges.</li> <li>Fix <a href="manual.html#coordsChar"><code>coordsChar</code></a>'s interpretation of its argument to match the documentation.</li> <li>New modes: <a href="../mode/turtle/index.html">Turtle</a> and <a href="../mode/q/index.html">Q</a>.</li> <li>Further improvements to the <a href="../demo/vim.html">vim mode</a>.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.01...v3.1">list of patches</a>.</li> </ul> <p class="rel">25-01-2013: <a href="http://codemirror.net/codemirror-3.02.zip">Version 3.02</a>:</p> <p class="rel-note">Single-bugfix release. Fixes a problem that prevents CodeMirror instances from being garbage-collected after they become unused.</p> <p class="rel">21-01-2013: <a href="http://codemirror.net/codemirror-3.01.zip">Version 3.01</a>:</p> <ul class="rel-note"> <li>Move all add-ons into an organized directory structure under <a href="../addon/"><code>/addon</code></a>. <strong>You might have to adjust your paths.</strong></li> <li>New modes: <a href="../mode/d/index.html">D</a>, <a href="../mode/sass/index.html">Sass</a>, <a href="../mode/apl/index.html">APL</a>, <a href="../mode/sql/index.html">SQL</a> (configurable), and <a href="../mode/asterisk/index.html">Asterisk</a>.</li> <li>Several bugfixes in right-to-left text support.</li> <li>Add <a href="manual.html#option_rtlMoveVisually"><code>rtlMoveVisually</code></a> option.</li> <li>Improvements to vim keymap.</li> <li>Add built-in (lightweight) <a href="manual.html#addOverlay">overlay mode</a> support.</li> <li>Support <code>showIfHidden</code> option for <a href="manual.html#addLineWidget">line widgets</a>.</li> <li>Add simple <a href="manual.html#addon_python-hint">Python hinter</a>.</li> <li>Bring back the <a href="manual.html#option_fixedGutter"><code>fixedGutter</code></a> option.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0...v3.01">list of patches</a>.</li> </ul> <p class="rel">10-12-2012: <a href="http://codemirror.net/codemirror-3.0.zip">Version 3.0</a>:</p> <p class="rel-note"><strong>New major version</strong>. Only partially backwards-compatible. See the <a href="upgrade_v3.html">upgrading guide</a> for more information. Changes since release candidate 2:</p> <ul class="rel-note"> <li>Rewritten VIM mode.</li> <li>Fix a few minor scrolling and sizing issues.</li> <li>Work around Safari segfault when dragging.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0rc2...v3.0">list of patches</a>.</li> </ul> <p class="rel">20-11-2012: <a href="http://codemirror.net/codemirror-3.0rc2.zip">Version 3.0, release candidate 2</a>:</p> <ul class="rel-note"> <li>New mode: <a href="../mode/http/index.html">HTTP</a>.</li> <li>Improved handling of selection anchor position.</li> <li>Improve IE performance on longer lines.</li> <li>Reduce gutter glitches during horiz. scrolling.</li> <li>Add <a href="manual.html#addKeyMap"><code>addKeyMap</code></a> and <a href="manual.html#removeKeyMap"><code>removeKeyMap</code></a> methods.</li> <li>Rewrite <code>formatting</code> and <code>closetag</code> add-ons.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0rc1...v3.0rc2">list of patches</a>.</li> </ul> <p class="rel">20-11-2012: <a href="http://codemirror.net/codemirror-3.0rc1.zip">Version 3.0, release candidate 1</a>:</p> <ul class="rel-note"> <li>New theme: <a href="../demo/theme.html?solarized%20light">Solarized</a>.</li> <li>Introduce <a href="manual.html#addLineClass"><code>addLineClass</code></a> and <a href="manual.html#removeLineClass"><code>removeLineClass</code></a>, drop <code>setLineClass</code>.</li> <li>Add a <em>lot</em> of new <a href="manual.html#markText">options for marked text</a> (read-only, atomic, collapsed, widget replacement).</li> <li>Remove the old code folding interface in favour of these new ranges.</li> <li>Add <a href="manual.html#isClean"><code>isClean</code></a>/<a href="manual.html#markClean"><code>markClean</code></a> methods.</li> <li>Remove <code>compoundChange</code> method, use better undo-event-combining heuristic.</li> <li>Improve scrolling performance smoothness.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0beta2...v3.0rc1">list of patches</a>.</li> </ul> <p class="rel">22-10-2012: <a href="http://codemirror.net/codemirror-3.0beta2.zip">Version 3.0, beta 2</a>:</p> <ul class="rel-note"> <li>Fix page-based coordinate computation.</li> <li>Fix firing of <a href="manual.html#event_gutterClick"><code>gutterClick</code></a> event.</li> <li>Add <a href="manual.html#option_cursorHeight"><code>cursorHeight</code></a> option.</li> <li>Fix bi-directional text regression.</li> <li>Add <a href="manual.html#option_viewportMargin"><code>viewportMargin</code></a> option.</li> <li>Directly handle mousewheel events (again, hopefully better).</li> <li>Make vertical cursor movement more robust (through widgets, big line gaps).</li> <li>Add <a href="manual.html#option_flattenSpans"><code>flattenSpans</code></a> option.</li> <li>Many optimizations. Poor responsiveness should be fixed.</li> <li>Initialization in hidden state works again.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v3.0beta1...v3.0beta2">list of patches</a>.</li> </ul> <p class="rel">19-09-2012: <a href="http://codemirror.net/codemirror-3.0beta1.zip">Version 3.0, beta 1</a>:</p> <ul class="rel-note"> <li>Bi-directional text support.</li> <li>More powerful gutter model.</li> <li>Support for arbitrary text/widget height.</li> <li>In-line widgets.</li> <li>Generalized event handling.</li> </ul> </section> <section id=v2> <h2>Version 2.x</h2> <p class="rel">21-01-2013: <a href="http://codemirror.net/codemirror-2.38.zip">Version 2.38</a>:</p> <p class="rel-note">Integrate some bugfixes, enhancements to the vim keymap, and new modes (<a href="../mode/d/index.html">D</a>, <a href="../mode/sass/index.html">Sass</a>, <a href="../mode/apl/index.html">APL</a>) from the v3 branch.</p> <p class="rel">20-12-2012: <a href="http://codemirror.net/codemirror-2.37.zip">Version 2.37</a>:</p> <ul class="rel-note"> <li>New mode: <a href="../mode/sql/index.html">SQL</a> (will replace <a href="../mode/plsql/index.html">plsql</a> and <a href="../mode/mysql/index.html">mysql</a> modes).</li> <li>Further work on the new VIM mode.</li> <li>Fix Cmd/Ctrl keys on recent Operas on OS X.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v2.36...v2.37">list of patches</a>.</li> </ul> <p class="rel">20-11-2012: <a href="http://codemirror.net/codemirror-2.36.zip">Version 2.36</a>:</p> <ul class="rel-note"> <li>New mode: <a href="../mode/z80/index.html">Z80 assembly</a>.</li> <li>New theme: <a href="../demo/theme.html?twilight">Twilight</a>.</li> <li>Add command-line compression helper.</li> <li>Make <a href="manual.html#scrollIntoView"><code>scrollIntoView</code></a> public.</li> <li>Add <a href="manual.html#defaultTextHeight"><code>defaultTextHeight</code></a> method.</li> <li>Various extensions to the vim keymap.</li> <li>Make <a href="../mode/php/index.html">PHP mode</a> build on <a href="../mode/htmlmixed/index.html">mixed HTML mode</a>.</li> <li>Add <a href="manual.html#addon_continuecomment">comment-continuing</a> add-on.</li> <li>Full <a href="../https://github.com/marijnh/CodeMirror/compare/v2.35...v2.36">list of patches</a>.</li> </ul> <p class="rel">22-10-2012: <a href="http://codemirror.net/codemirror-2.35.zip">Version 2.35</a>:</p> <ul class="rel-note"> <li>New (sub) mode: <a href="../mode/javascript/typescript.html">TypeScript</a>.</li> <li>Don't overwrite (insert key) when pasting.</li> <li>Fix several bugs in <a href="manual.html#markText"><code>markText</code></a>/undo interaction.</li> <li>Better indentation of JavaScript code without semicolons.</li> <li>Add <a href="manual.html#defineInitHook"><code>defineInitHook</code></a> function.</li> <li>Full <a href="https://github.com/marijnh/CodeMirror/compare/v2.34...v2.35">list of patches</a>.</li> </ul> <p class="rel">19-09-2012: <a href="http://codemirror.net/codemirror-2.34.zip">Version 2.34</a>:</p> <ul class="rel-note"> <li>New mode: <a href="../mode/commonlisp/index.html">Common Lisp</a>.</li> <li>Fix right-click select-all on most browsers.</li> <li>Change the way highlighting happens:<br>&nbsp; Saves memory and CPU cycles.<br>&nbsp; <code>compareStates</code> is no longer needed.<br>&nbsp; <code>onHighlightComplete</code> no longer works.</li> <li>Integrate mode (Markdown, XQuery, CSS, sTex) tests in central testsuite.</li> <li>Add a <a href="manual.html#version"><code>CodeMirror.version</code></a> property.</li> <li>More robust handling of nested modes in <a href="../demo/formatting.html">formatting</a> and <a href="../demo/closetag.html">closetag</a> plug-ins.</li> <li>Un/redo now preserves <a href="manual.html#markText">marked text</a> and bookmarks.</li> <li><a href="https://github.com/marijnh/CodeMirror/compare/v2.33...v2.34">Full list</a> of patches.</li> </ul> <p class="rel">23-08-2012: <a href="http://codemirror.net/codemirror-2.33.zip">Version 2.33</a>:</p> <ul class="rel-note"> <li>New mode: <a href="../mode/sieve/index.html">Sieve</a>.</li> <li>New <a href="manual.html#getViewport"><code>getViewPort</code></a> and <a href="manual.html#option_onViewportChange"><code>onViewportChange</code></a> API.</li> <li><a href="manual.html#option_cursorBlinkRate">Configurable</a> cursor blink rate.</li> <li>Make binding a key to <code>false</code> disabling handling (again).</li> <li>Show non-printing characters as red dots.</li> <li>More tweaks to the scrolling model.</li> <li>Expanded testsuite. Basic linter added.</li> <li>Remove most uses of <code>innerHTML</code>. Remove <code>CodeMirror.htmlEscape</code>.</li> <li><a href="https://github.com/marijnh/CodeMirror/compare/v2.32...v2.33">Full list</a> of patches.</li> </ul> <p class="rel">23-07-2012: <a href="http://codemirror.net/codemirror-2.32.zip">Version 2.32</a>:</p> <p class="rel-note">Emergency fix for a bug where an editor with line wrapping on IE will break when there is <em>no</em> scrollbar.</p> <p class="rel">20-07-2012: <a href="http://codemirror.net/codemirror-2.31.zip">Version 2.31</a>:</p> <ul class="rel-note"> <li>New modes: <a href="../mode/ocaml/index.html">OCaml</a>, <a href="../mode/haxe/index.html">Haxe</a>, and <a href="../mode/vb/index.html">VB.NET</a>.</li> <li>Several fixes to the new scrolling model.</li> <li>Add a <a href="manual.html#setSize"><code>setSize</code></a> method for programmatic resizing.</li> <li>Add <a href="manual.html#getHistory"><code>getHistory</code></a> and <a href="manual.html#setHistory"><code>setHistory</code></a> methods.</li> <li>Allow custom line separator string in <a href="manual.html#getValue"><code>getValue</code></a> and <a href="manual.html#getRange"><code>getRange</code></a>.</li> <li>Support double- and triple-click drag, double-clicking whitespace.</li> <li>And more... <a href="https://github.com/marijnh/CodeMirror/compare/v2.3...v2.31">(all patches)</a></li> </ul> <p class="rel">22-06-2012: <a href="http://codemirror.net/codemirror-2.3.zip">Version 2.3</a>:</p> <ul class="rel-note"> <li><strong>New scrollbar implementation</strong>. Should flicker less. Changes DOM structure of the editor.</li> <li>New theme: <a href="../demo/theme.html?vibrant-ink">vibrant-ink</a>.</li> <li>Many extensions to the VIM keymap (including text objects).</li> <li>Add <a href="../demo/multiplex.html">mode-multiplexing</a> utility script.</li> <li>Fix bug where right-click paste works in read-only mode.</li> <li>Add a <a href="manual.html#getScrollInfo"><code>getScrollInfo</code></a> method.</li> <li>Lots of other <a href="https://github.com/marijnh/CodeMirror/compare/v2.25...v2.3">fixes</a>.</li> </ul> <p class="rel">23-05-2012: <a href="http://codemirror.net/codemirror-2.25.zip">Version 2.25</a>:</p> <ul class="rel-note"> <li>New mode: <a href="../mode/erlang/index.html">Erlang</a>.</li> <li><strong>Remove xmlpure mode</strong> (use <a href="../mode/xml/index.html">xml.js</a>).</li> <li>Fix line-wrapping in Opera.</li> <li>Fix X Windows middle-click paste in Chrome.</li> <li>Fix bug that broke pasting of huge documents.</li> <li>Fix backspace and tab key repeat in Opera.</li> </ul> <p class="rel">23-04-2012: <a href="http://codemirror.net/codemirror-2.24.zip">Version 2.24</a>:</p> <ul class="rel-note"> <li><strong>Drop support for Internet Explorer 6</strong>.</li> <li>New modes: <a href="../mode/shell/index.html">Shell</a>, <a href="../mode/tiki/index.html">Tiki wiki</a>, <a href="../mode/pig/index.html">Pig Latin</a>.</li> <li>New themes: <a href="../demo/theme.html?ambiance">Ambiance</a>, <a href="../demo/theme.html?blackboard">Blackboard</a>.</li> <li>More control over drag/drop with <a href="manual.html#option_dragDrop"><code>dragDrop</code></a> and <a href="manual.html#option_onDragEvent"><code>onDragEvent</code></a> options.</li> <li>Make HTML mode a bit less pedantic.</li> <li>Add <a href="manual.html#compoundChange"><code>compoundChange</code></a> API method.</li> <li>Several fixes in undo history and line hiding.</li> <li>Remove (broken) support for <code>catchall</code> in key maps, add <code>nofallthrough</code> boolean field instead.</li> </ul> <p class="rel">26-03-2012: <a href="http://codemirror.net/codemirror-2.23.zip">Version 2.23</a>:</p> <ul class="rel-note"> <li>Change <strong>default binding for tab</strong> <a href="javascript:void(document.getElementById('tabbinding').style.display='')">[more]</a> <div style="display: none" id=tabbinding> Starting in 2.23, these bindings are default: <ul><li>Tab: Insert tab character</li> <li>Shift-tab: Reset line indentation to default</li> <li>Ctrl/Cmd-[: Reduce line indentation (old tab behaviour)</li> <li>Ctrl/Cmd-]: Increase line indentation (old shift-tab behaviour)</li> </ul> </div> </li> <li>New modes: <a href="../mode/xquery/index.html">XQuery</a> and <a href="../mode/vbscript/index.html">VBScript</a>.</li> <li>Two new themes: <a href="../mode/less/index.html">lesser-dark</a> and <a href="../mode/xquery/index.html">xq-dark</a>.</li> <li>Differentiate between background and text styles in <a href="manual.html#setLineClass"><code>setLineClass</code></a>.</li> <li>Fix drag-and-drop in IE9+.</li> <li>Extend <a href="manual.html#charCoords"><code>charCoords</code></a> and <a href="manual.html#cursorCoords"><code>cursorCoords</code></a> with a <code>mode</code> argument.</li> <li>Add <a href="manual.html#option_autofocus"><code>autofocus</code></a> option.</li> <li>Add <a href="manual.html#findMarksAt"><code>findMarksAt</code></a> method.</li> </ul> <p class="rel">27-02-2012: <a href="http://codemirror.net/codemirror-2.22.zip">Version 2.22</a>:</p> <ul class="rel-note"> <li>Allow <a href="manual.html#keymaps">key handlers</a> to pass up events, allow binding characters.</li> <li>Add <a href="manual.html#option_autoClearEmptyLines"><code>autoClearEmptyLines</code></a> option.</li> <li>Properly use tab stops when rendering tabs.</li> <li>Make PHP mode more robust.</li> <li>Support indentation blocks in <a href="manual.html#addon_foldcode">code folder</a>.</li> <li>Add a script for <a href="manual.html#addon_match-highlighter">highlighting instances of the selection</a>.</li> <li>New <a href="../mode/properties/index.html">.properties</a> mode.</li> <li>Fix many bugs.</li> </ul> <p class="rel">27-01-2012: <a href="http://codemirror.net/codemirror-2.21.zip">Version 2.21</a>:</p> <ul class="rel-note"> <li>Added <a href="../mode/less/index.html">LESS</a>, <a href="../mode/mysql/index.html">MySQL</a>, <a href="../mode/go/index.html">Go</a>, and <a href="../mode/verilog/index.html">Verilog</a> modes.</li> <li>Add <a href="manual.html#option_smartIndent"><code>smartIndent</code></a> option.</li> <li>Support a cursor in <a href="manual.html#option_readOnly"><code>readOnly</code></a>-mode.</li> <li>Support assigning multiple styles to a token.</li> <li>Use a new approach to drawing the selection.</li> <li>Add <a href="manual.html#scrollTo"><code>scrollTo</code></a> method.</li> <li>Allow undo/redo events to span non-adjacent lines.</li> <li>Lots and lots of bugfixes.</li> </ul> <p class="rel">20-12-2011: <a href="http://codemirror.net/codemirror-2.2.zip">Version 2.2</a>:</p> <ul class="rel-note"> <li>Slightly incompatible API changes. Read <a href="upgrade_v2.2.html">this</a>.</li> <li>New approach to <a href="manual.html#option_extraKeys">binding</a> keys, support for <a href="manual.html#option_keyMap">custom bindings</a>.</li> <li>Support for overwrite (insert).</li> <li><a href="manual.html#option_tabSize">Custom-width</a> and <a href="../demo/visibletabs.html">stylable</a> tabs.</li> <li>Moved more code into <a href="manual.html#addons">add-on scripts</a>.</li> <li>Support for sane vertical cursor movement in wrapped lines.</li> <li>More reliable handling of editing <a href="manual.html#markText">marked text</a>.</li> <li>Add minimal <a href="../demo/emacs.html">emacs</a> and <a href="../demo/vim.html">vim</a> bindings.</li> <li>Rename <code>coordsFromIndex</code> to <a href="manual.html#posFromIndex"><code>posFromIndex</code></a>, add <a href="manual.html#indexFromPos"><code>indexFromPos</code></a> method.</li> </ul> <p class="rel">21-11-2011: <a href="http://codemirror.net/codemirror-2.18.zip">Version 2.18</a>:</p> <p class="rel-note">Fixes <code>TextMarker.clear</code>, which is broken in 2.17.</p> <p class="rel">21-11-2011: <a href="http://codemirror.net/codemirror-2.17.zip">Version 2.17</a>:</p> <ul class="rel-note"> <li>Add support for <a href="manual.html#option_lineWrapping">line wrapping</a> and <a href="manual.html#hideLine">code folding</a>.</li> <li>Add <a href="../mode/gfm/index.html">Github-style Markdown</a> mode.</li> <li>Add <a href="../theme/monokai.css">Monokai</a> and <a href="../theme/rubyblue.css">Rubyblue</a> themes.</li> <li>Add <a href="manual.html#setBookmark"><code>setBookmark</code></a> method.</li> <li>Move some of the demo code into reusable components under <a href="../addon/"><code>lib/util</code></a>.</li> <li>Make screen-coord-finding code faster and more reliable.</li> <li>Fix drag-and-drop in Firefox.</li> <li>Improve support for IME.</li> <li>Speed up content rendering.</li> <li>Fix browser's built-in search in Webkit.</li> <li>Make double- and triple-click work in IE.</li> <li>Various fixes to modes.</li> </ul> <p class="rel">27-10-2011: <a href="http://codemirror.net/codemirror-2.16.zip">Version 2.16</a>:</p> <ul class="rel-note"> <li>Add <a href="../mode/perl/index.html">Perl</a>, <a href="../mode/rust/index.html">Rust</a>, <a href="../mode/tiddlywiki/index.html">TiddlyWiki</a>, and <a href="../mode/groovy/index.html">Groovy</a> modes.</li> <li>Dragging text inside the editor now moves, rather than copies.</li> <li>Add a <a href="manual.html#coordsFromIndex"><code>coordsFromIndex</code></a> method.</li> <li><strong>API change</strong>: <code>setValue</code> now no longer clears history. Use <a href="manual.html#clearHistory"><code>clearHistory</code></a> for that.</li> <li><strong>API change</strong>: <a href="manual.html#markText"><code>markText</code></a> now returns an object with <code>clear</code> and <code>find</code> methods. Marked text is now more robust when edited.</li> <li>Fix editing code with tabs in Internet Explorer.</li> </ul> <p class="rel">26-09-2011: <a href="http://codemirror.net/codemirror-2.15.zip">Version 2.15</a>:</p> <p class="rel-note">Fix bug that snuck into 2.14: Clicking the character that currently has the cursor didn't re-focus the editor.</p> <p class="rel">26-09-2011: <a href="http://codemirror.net/codemirror-2.14.zip">Version 2.14</a>:</p> <ul class="rel-note"> <li>Add <a href="../mode/clojure/index.html">Clojure</a>, <a href="../mode/pascal/index.html">Pascal</a>, <a href="../mode/ntriples/index.html">NTriples</a>, <a href="../mode/jinja2/index.html">Jinja2</a>, and <a href="../mode/markdown/index.html">Markdown</a> modes.</li> <li>Add <a href="../theme/cobalt.css">Cobalt</a> and <a href="../theme/eclipse.css">Eclipse</a> themes.</li> <li>Add a <a href="manual.html#option_fixedGutter"><code>fixedGutter</code></a> option.</li> <li>Fix bug with <code>setValue</code> breaking cursor movement.</li> <li>Make gutter updates much more efficient.</li> <li>Allow dragging of text out of the editor (on modern browsers).</li> </ul> <p class="rel">23-08-2011: <a href="http://codemirror.net/codemirror-2.13.zip">Version 2.13</a>:</p> <ul class="rel-note"> <li>Add <a href="../mode/ruby/index.html">Ruby</a>, <a href="../mode/r/index.html">R</a>, <a href="../mode/coffeescript/index.html">CoffeeScript</a>, and <a href="../mode/velocity/index.html">Velocity</a> modes.</li> <li>Add <a href="manual.html#getGutterElement"><code>getGutterElement</code></a> to API.</li> <li>Several fixes to scrolling and positioning.</li> <li>Add <a href="manual.html#option_smartHome"><code>smartHome</code></a> option.</li> <li>Add an experimental <a href="../mode/xmlpure/index.html">pure XML</a> mode.</li> </ul> <p class="rel">25-07-2011: <a href="http://codemirror.net/codemirror-2.12.zip">Version 2.12</a>:</p> <ul class="rel-note"> <li>Add a <a href="../mode/sparql/index.html">SPARQL</a> mode.</li> <li>Fix bug with cursor jumping around in an unfocused editor in IE.</li> <li>Allow key and mouse events to bubble out of the editor. Ignore widget clicks.</li> <li>Solve cursor flakiness after undo/redo.</li> <li>Fix block-reindent ignoring the last few lines.</li> <li>Fix parsing of multi-line attrs in XML mode.</li> <li>Use <code>innerHTML</code> for HTML-escaping.</li> <li>Some fixes to indentation in C-like mode.</li> <li>Shrink horiz scrollbars when long lines removed.</li> <li>Fix width feedback loop bug that caused the width of an inner DIV to shrink.</li> </ul> <p class="rel">04-07-2011: <a href="http://codemirror.net/codemirror-2.11.zip">Version 2.11</a>:</p> <ul class="rel-note"> <li>Add a <a href="../mode/scheme/index.html">Scheme mode</a>.</li> <li>Add a <code>replace</code> method to search cursors, for cursor-preserving replacements.</li> <li>Make the <a href="../mode/clike/index.html">C-like mode</a> mode more customizable.</li> <li>Update XML mode to spot mismatched tags.</li> <li>Add <code>getStateAfter</code> API and <code>compareState</code> mode API methods for finer-grained mode magic.</li> <li>Add a <code>getScrollerElement</code> API method to manipulate the scrolling DIV.</li> <li>Fix drag-and-drop for Firefox.</li> <li>Add a C# configuration for the <a href="../mode/clike/index.html">C-like mode</a>.</li> <li>Add <a href="../demo/fullscreen.html">full-screen editing</a> and <a href="../demo/changemode.html">mode-changing</a> demos.</li> </ul> <p class="rel">07-06-2011: <a href="http://codemirror.net/codemirror-2.1.zip">Version 2.1</a>:</p> <p class="rel-note">Add a <a href="manual.html#option_theme">theme</a> system (<a href="../demo/theme.html">demo</a>). Note that this is not backwards-compatible—you'll have to update your styles and modes!</p> <p class="rel">07-06-2011: <a href="http://codemirror.net/codemirror-2.02.zip">Version 2.02</a>:</p> <ul class="rel-note"> <li>Add a <a href="../mode/lua/index.html">Lua mode</a>.</li> <li>Fix reverse-searching for a regexp.</li> <li>Empty lines can no longer break highlighting.</li> <li>Rework scrolling model (the outer wrapper no longer does the scrolling).</li> <li>Solve horizontal jittering on long lines.</li> <li>Add <a href="../demo/runmode.html">runmode.js</a>.</li> <li>Immediately re-highlight text when typing.</li> <li>Fix problem with 'sticking' horizontal scrollbar.</li> </ul> <p class="rel">26-05-2011: <a href="http://codemirror.net/codemirror-2.01.zip">Version 2.01</a>:</p> <ul class="rel-note"> <li>Add a <a href="../mode/smalltalk/index.html">Smalltalk mode</a>.</li> <li>Add a <a href="../mode/rst/index.html">reStructuredText mode</a>.</li> <li>Add a <a href="../mode/python/index.html">Python mode</a>.</li> <li>Add a <a href="../mode/plsql/index.html">PL/SQL mode</a>.</li> <li><code>coordsChar</code> now works</li> <li>Fix a problem where <code>onCursorActivity</code> interfered with <code>onChange</code>.</li> <li>Fix a number of scrolling and mouse-click-position glitches.</li> <li>Pass information about the changed lines to <code>onChange</code>.</li> <li>Support cmd-up/down on OS X.</li> <li>Add triple-click line selection.</li> <li>Don't handle shift when changing the selection through the API.</li> <li>Support <code>"nocursor"</code> mode for <code>readOnly</code> option.</li> <li>Add an <code>onHighlightComplete</code> option.</li> <li>Fix the context menu for Firefox.</li> </ul> <p class="rel">28-03-2011: <a href="http://codemirror.net/codemirror-2.0.zip">Version 2.0</a>:</p> <p class="rel-note">CodeMirror 2 is a complete rewrite that's faster, smaller, simpler to use, and less dependent on browser quirks. See <a href="internals.html">this</a> and <a href="http://groups.google.com/group/codemirror/browse_thread/thread/5a8e894024a9f580">this</a> for more information.</p> <p class="rel">22-02-2011: <a href="https://github.com/marijnh/codemirror/tree/beta2">Version 2.0 beta 2</a>:</p> <p class="rel-note">Somewhat more mature API, lots of bugs shaken out.</p> <p class="rel">17-02-2011: <a href="http://codemirror.net/codemirror-0.94.zip">Version 0.94</a>:</p> <ul class="rel-note"> <li><code>tabMode: "spaces"</code> was modified slightly (now indents when something is selected).</li> <li>Fixes a bug that would cause the selection code to break on some IE versions.</li> <li>Disabling spell-check on WebKit browsers now works.</li> </ul> <p class="rel">08-02-2011: <a href="http://codemirror.net/">Version 2.0 beta 1</a>:</p> <p class="rel-note">CodeMirror 2 is a complete rewrite of CodeMirror, no longer depending on an editable frame.</p> <p class="rel">19-01-2011: <a href="http://codemirror.net/codemirror-0.93.zip">Version 0.93</a>:</p> <ul class="rel-note"> <li>Added a <a href="contrib/regex/index.html">Regular Expression</a> parser.</li> <li>Fixes to the PHP parser.</li> <li>Support for regular expression in search/replace.</li> <li>Add <code>save</code> method to instances created with <code>fromTextArea</code>.</li> <li>Add support for MS T-SQL in the SQL parser.</li> <li>Support use of CSS classes for highlighting brackets.</li> <li>Fix yet another hang with line-numbering in hidden editors.</li> </ul> </section> <section id=v1> <h2>Version 0.x</h2> <p class="rel">28-03-2011: <a href="http://codemirror.net/codemirror-1.0.zip">Version 1.0</a>:</p> <ul class="rel-note"> <li>Fix error when debug history overflows.</li> <li>Refine handling of C# verbatim strings.</li> <li>Fix some issues with JavaScript indentation.</li> </ul> <p class="rel">17-12-2010: <a href="http://codemirror.net/codemirror-0.92.zip">Version 0.92</a>:</p> <ul class="rel-note"> <li>Make CodeMirror work in XHTML documents.</li> <li>Fix bug in handling of backslashes in Python strings.</li> <li>The <code>styleNumbers</code> option is now officially supported and documented.</li> <li><code>onLineNumberClick</code> option added.</li> <li>More consistent names <code>onLoad</code> and <code>onCursorActivity</code> callbacks. Old names still work, but are deprecated.</li> <li>Add a <a href="contrib/freemarker/index.html">Freemarker</a> mode.</li> </ul> <p class="rel">11-11-2010: <a href="http://codemirror.net/codemirror-0.91.zip">Version 0.91</a>:</p> <ul class="rel-note"> <li>Adds support for <a href="contrib/java">Java</a>.</li> <li>Small additions to the <a href="contrib/php">PHP</a> and <a href="contrib/sql">SQL</a> parsers.</li> <li>Work around various <a href="https://bugs.webkit.org/show_bug.cgi?id=47806">Webkit</a> <a href="https://bugs.webkit.org/show_bug.cgi?id=23474">issues</a>.</li> <li>Fix <code>toTextArea</code> to update the code in the textarea.</li> <li>Add a <code>noScriptCaching</code> option (hack to ease development).</li> <li>Make sub-modes of <a href="mixedtest.html">HTML mixed</a> mode configurable.</li> </ul> <p class="rel">02-10-2010: <a href="http://codemirror.net/codemirror-0.9.zip">Version 0.9</a>:</p> <ul class="rel-note"> <li>Add support for searching backwards.</li> <li>There are now parsers for <a href="contrib/scheme/index.html">Scheme</a>, <a href="contrib/xquery/index.html">XQuery</a>, and <a href="contrib/ometa/index.html">OmetaJS</a>.</li> <li>Makes <code>height: "dynamic"</code> more robust.</li> <li>Fixes bug where paste did not work on OS X.</li> <li>Add a <code>enterMode</code> and <code>electricChars</code> options to make indentation even more customizable.</li> <li>Add <code>firstLineNumber</code> option.</li> <li>Fix bad handling of <code>@media</code> rules by the CSS parser.</li> <li>Take a new, more robust approach to working around the invisible-last-line bug in WebKit.</li> </ul> <p class="rel">22-07-2010: <a href="http://codemirror.net/codemirror-0.8.zip">Version 0.8</a>:</p> <ul class="rel-note"> <li>Add a <code>cursorCoords</code> method to find the screen coordinates of the cursor.</li> <li>A number of fixes and support for more syntax in the PHP parser.</li> <li>Fix indentation problem with JSON-mode JS parser in Webkit.</li> <li>Add a <a href="compress.html">minification</a> UI.</li> <li>Support a <code>height: dynamic</code> mode, where the editor's height will adjust to the size of its content.</li> <li>Better support for IME input mode.</li> <li>Fix JavaScript parser getting confused when seeing a no-argument function call.</li> <li>Have CSS parser see the difference between selectors and other identifiers.</li> <li>Fix scrolling bug when pasting in a horizontally-scrolled editor.</li> <li>Support <code>toTextArea</code> method in instances created with <code>fromTextArea</code>.</li> <li>Work around new Opera cursor bug that causes the cursor to jump when pressing backspace at the end of a line.</li> </ul> <p class="rel">27-04-2010: <a href="http://codemirror.net/codemirror-0.67.zip">Version 0.67</a>:</p> <p class="rel-note">More consistent page-up/page-down behaviour across browsers. Fix some issues with hidden editors looping forever when line-numbers were enabled. Make PHP parser parse <code>"\\"</code> correctly. Have <code>jumpToLine</code> work on line handles, and add <code>cursorLine</code> function to fetch the line handle where the cursor currently is. Add new <code>setStylesheet</code> function to switch style-sheets in a running editor.</p> <p class="rel">01-03-2010: <a href="http://codemirror.net/codemirror-0.66.zip">Version 0.66</a>:</p> <p class="rel-note">Adds <code>removeLine</code> method to API. Introduces the <a href="contrib/plsql/index.html">PLSQL parser</a>. Marks XML errors by adding (rather than replacing) a CSS class, so that they can be disabled by modifying their style. Fixes several selection bugs, and a number of small glitches.</p> <p class="rel">12-11-2009: <a href="http://codemirror.net/codemirror-0.65.zip">Version 0.65</a>:</p> <p class="rel-note">Add support for having both line-wrapping and line-numbers turned on, make paren-highlighting style customisable (<code>markParen</code> and <code>unmarkParen</code> config options), work around a selection bug that Opera <em>re</em>introduced in version 10.</p> <p class="rel">23-10-2009: <a href="http://codemirror.net/codemirror-0.64.zip">Version 0.64</a>:</p> <p class="rel-note">Solves some issues introduced by the paste-handling changes from the previous release. Adds <code>setSpellcheck</code>, <code>setTextWrapping</code>, <code>setIndentUnit</code>, <code>setUndoDepth</code>, <code>setTabMode</code>, and <code>setLineNumbers</code> to customise a running editor. Introduces an <a href="contrib/sql/index.html">SQL</a> parser. Fixes a few small problems in the <a href="contrib/python/index.html">Python</a> parser. And, as usual, add workarounds for various newly discovered browser incompatibilities.</p> <p class="rel"><em>31-08-2009</em>: <a href="http://codemirror.net/codemirror-0.63.zip">Version 0.63</a>:</p> <p class="rel-note"> Overhaul of paste-handling (less fragile), fixes for several serious IE8 issues (cursor jumping, end-of-document bugs) and a number of small problems.</p> <p class="rel"><em>30-05-2009</em>: <a href="http://codemirror.net/codemirror-0.62.zip">Version 0.62</a>:</p> <p class="rel-note">Introduces <a href="contrib/python/index.html">Python</a> and <a href="contrib/lua/index.html">Lua</a> parsers. Add <code>setParser</code> (on-the-fly mode changing) and <code>clearHistory</code> methods. Make parsing passes time-based instead of lines-based (see the <code>passTime</code> option).</p> </section> </article>
srujant/MLNews
static/js/cesium/ThirdParty/codemirror-4.6/doc/releases.html
HTML
mit
55,990
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>check-types.js unit tests</title> <link rel="stylesheet" href="../node_modules/mocha/mocha.css" /> </head> <body> <div id="mocha"></div> <script src="../node_modules/chai/chai.js"></script> <script src="../node_modules/mocha/mocha.js"></script> <script> mocha.setup('tdd'); </script> <script src="../src/check-types.min.js"></script> <script src="check-types.js"></script> <script> mocha.checkLeaks(); mocha.run(); </script> </body> </html>
philbooth/check-types.js
test/check-types.html
HTML
mit
578
<!DOCTYPE HTML> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script> function createNewCanvas(width, height) { var canvas = document.createElement("canvas"); canvas.width = width; canvas.height = height; var ctx = canvas.getContext("2d"); ctx.clearRect(0, 0, width, height); return ctx; } function checkLowResult(imageBitmap, bw, bh, video, sx, sy, sw, sh) { var ctx1 = createNewCanvas(bw, bh); var ctx2 = createNewCanvas(bw, bh); ctx1.drawImage(imageBitmap, 0, 0); ctx2.drawImage(video, sx, sy, sw, sh, 0, 0, bw, bh); var data1 = ctx1.getImageData(0, 0, bw, bh).data; var data2 = ctx2.getImageData(0, 0, bw, bh).data; var dataMatched = true; for (var i = 0; i < data1.length; i++) { // data1[i] is strictly the same as data2[i] on software rendering. // But on GPU, the difference could be quite significant. if (Math.abs(data1[i] - data2[i]) > 18) { dataMatched = false; break; } } assert_true(dataMatched); } function generateTest() { bitmapWidth = video.videoWidth/2; bitmapHeight = video.videoHeight/2; return Promise.all([ createImageBitmap(video, {resizeWidth: bitmapWidth, resizeHeight: bitmapHeight, resizeQuality: "low"}), createImageBitmap(video, 10, 10, bitmapWidth, bitmapHeight, {resizeWidth: bitmapWidth, resizeHeight: bitmapHeight, resizeQuality: "low"}), ]).then(t.step_func_done(([noCropLow, cropLow]) => { checkLowResult(noCropLow, bitmapWidth, bitmapHeight, video, 0, 0, video.videoWidth, video.videoHeight); checkLowResult(cropLow, bitmapWidth, bitmapHeight, video, 10, 10, bitmapWidth, bitmapHeight); }), t.step_func_done(function() { assert_true(false, 'Promise rejected'); })); } var t = async_test('createImageBitmap(HTMLVideoElement) with resize option'); // HTMLVideoElement var video = document.createElement("video"); video.preload = "auto"; video.oncanplaythrough = t.step_func(function() { return generateTest(); }); video.src = '/media/counting.' + (video.canPlayType('video/ogg') ? 'ogv' : 'mp4'); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-video-resize.html
HTML
bsd-3-clause
2,195
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Phaser Class: Tween</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/default.css"> <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css"> <link type="text/css" rel="stylesheet" href="styles/site.cerulean.css"> </head> <body> <div class="container-fluid"> <div class="navbar navbar-fixed-top navbar-inverse"> <div style="position: absolute; width: 143px; height: 31px; right: 10px; top: 10px; z-index: 1050"><a href="http://phaser.io"><img src="img/phaser.png" border="0" /></a></div> <div class="navbar-inner"> <a class="brand" href="index.html">Phaser API</a> <ul class="nav"> <li class="dropdown"> <a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-0"> <a href="Phaser.html">Phaser</a> </li> <li class="class-depth-0"> <a href="Phaser.KeyCode.html">KeyCode</a> </li> <li class="class-depth-0"> <a href="PIXI.html">PIXI</a> </li> </ul> </li> <li class="dropdown"> <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"> <a href="Phaser.Animation.html">Animation</a> </li> <li class="class-depth-1"> <a href="Phaser.AnimationManager.html">AnimationManager</a> </li> <li class="class-depth-1"> <a href="Phaser.AnimationParser.html">AnimationParser</a> </li> <li class="class-depth-1"> <a href="Phaser.ArraySet.html">ArraySet</a> </li> <li class="class-depth-1"> <a href="Phaser.ArrayUtils.html">ArrayUtils</a> </li> <li class="class-depth-1"> <a href="Phaser.AudioSprite.html">AudioSprite</a> </li> <li class="class-depth-1"> <a href="Phaser.BitmapData.html">BitmapData</a> </li> <li class="class-depth-1"> <a href="Phaser.BitmapText.html">BitmapText</a> </li> <li class="class-depth-1"> <a href="Phaser.Button.html">Button</a> </li> <li class="class-depth-1"> <a href="Phaser.Cache.html">Cache</a> </li> <li class="class-depth-1"> <a href="Phaser.Camera.html">Camera</a> </li> <li class="class-depth-1"> <a href="Phaser.Canvas.html">Canvas</a> </li> <li class="class-depth-1"> <a href="Phaser.Circle.html">Circle</a> </li> <li class="class-depth-1"> <a href="Phaser.Color.html">Color</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Angle.html">Angle</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Animation.html">Animation</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.AutoCull.html">AutoCull</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Bounds.html">Bounds</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.BringToTop.html">BringToTop</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Core.html">Core</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Crop.html">Crop</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Delta.html">Delta</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Destroy.html">Destroy</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.FixedToCamera.html">FixedToCamera</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Health.html">Health</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.InCamera.html">InCamera</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.InputEnabled.html">InputEnabled</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.InWorld.html">InWorld</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.LifeSpan.html">LifeSpan</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.LoadTexture.html">LoadTexture</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Overlap.html">Overlap</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.PhysicsBody.html">PhysicsBody</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Reset.html">Reset</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.ScaleMinMax.html">ScaleMinMax</a> </li> <li class="class-depth-2"> <a href="Phaser.Component.Smoothed.html">Smoothed</a> </li> <li class="class-depth-1"> <a href="Phaser.Create.html">Create</a> </li> <li class="class-depth-1"> <a href="Phaser.Creature.html">Creature</a> </li> <li class="class-depth-1"> <a href="Phaser.Device.html">Device</a> </li> <li class="class-depth-1"> <a href="Phaser.DeviceButton.html">DeviceButton</a> </li> <li class="class-depth-1"> <a href="Phaser.DOM.html">DOM</a> </li> <li class="class-depth-1"> <a href="Phaser.Easing.html">Easing</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Back.html">Back</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Bounce.html">Bounce</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Circular.html">Circular</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Cubic.html">Cubic</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Elastic.html">Elastic</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Exponential.html">Exponential</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Linear.html">Linear</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Quadratic.html">Quadratic</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Quartic.html">Quartic</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Quintic.html">Quintic</a> </li> <li class="class-depth-2"> <a href="Phaser.Easing.Sinusoidal.html">Sinusoidal</a> </li> <li class="class-depth-1"> <a href="Phaser.Ellipse.html">Ellipse</a> </li> <li class="class-depth-1"> <a href="Phaser.Events.html">Events</a> </li> <li class="class-depth-1"> <a href="Phaser.Filter.html">Filter</a> </li> <li class="class-depth-1"> <a href="Phaser.FlexGrid.html">FlexGrid</a> </li> <li class="class-depth-1"> <a href="Phaser.FlexLayer.html">FlexLayer</a> </li> <li class="class-depth-1"> <a href="Phaser.Frame.html">Frame</a> </li> <li class="class-depth-1"> <a href="Phaser.FrameData.html">FrameData</a> </li> <li class="class-depth-1"> <a href="Phaser.Game.html">Game</a> </li> <li class="class-depth-1"> <a href="Phaser.GameObjectCreator.html">GameObjectCreator</a> </li> <li class="class-depth-1"> <a href="Phaser.GameObjectFactory.html">GameObjectFactory</a> </li> <li class="class-depth-1"> <a href="Phaser.Gamepad.html">Gamepad</a> </li> <li class="class-depth-1"> <a href="Phaser.Graphics.html">Graphics</a> </li> <li class="class-depth-1"> <a href="Phaser.Group.html">Group</a> </li> <li class="class-depth-1"> <a href="Phaser.Image.html">Image</a> </li> <li class="class-depth-1"> <a href="Phaser.ImageCollection.html">ImageCollection</a> </li> <li class="class-depth-1"> <a href="Phaser.Input.html">Input</a> </li> <li class="class-depth-1"> <a href="Phaser.InputHandler.html">InputHandler</a> </li> <li class="class-depth-1"> <a href="Phaser.Key.html">Key</a> </li> <li class="class-depth-1"> <a href="Phaser.Keyboard.html">Keyboard</a> </li> <li class="class-depth-1"> <a href="Phaser.Line.html">Line</a> </li> <li class="class-depth-1"> <a href="Phaser.LinkedList.html">LinkedList</a> </li> <li class="class-depth-1"> <a href="Phaser.Loader.html">Loader</a> </li> <li class="class-depth-1"> <a href="Phaser.LoaderParser.html">LoaderParser</a> </li> <li class="class-depth-1"> <a href="Phaser.Math.html">Math</a> </li> <li class="class-depth-1"> <a href="Phaser.Matrix.html">Matrix</a> </li> <li class="class-depth-1"> <a href="Phaser.Mouse.html">Mouse</a> </li> <li class="class-depth-1"> <a href="Phaser.MSPointer.html">MSPointer</a> </li> <li class="class-depth-1"> <a href="Phaser.Net.html">Net</a> </li> <li class="class-depth-1"> <a href="Phaser.Particle.html">Particle</a> </li> <li class="class-depth-1"> <a href="Phaser.Particles.html">Particles</a> </li> <li class="class-depth-2"> <a href="Phaser.Particles.Arcade.html">Arcade</a> </li> <li class="class-depth-3"> <a href="Phaser.Particles.Arcade.Emitter.html">Emitter</a> </li> <li class="class-depth-1"> <a href="Phaser.Physics.html">Physics</a> </li> <li class="class-depth-2"> <a href="Phaser.Physics.Arcade.html">Arcade</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Arcade.Body.html">Body</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Arcade.TilemapCollision.html">TilemapCollision</a> </li> <li class="class-depth-2"> <a href="Phaser.Physics.Ninja.html">Ninja</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Ninja.AABB.html">AABB</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Ninja.Body.html">Body</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Ninja.Circle.html">Circle</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.Ninja.Tile.html">Tile</a> </li> <li class="class-depth-2"> <a href="Phaser.Physics.P2.html">P2</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.Body.html">Body</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.BodyDebug.html">BodyDebug</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.CollisionGroup.html">CollisionGroup</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.ContactMaterial.html">ContactMaterial</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.DistanceConstraint.html">DistanceConstraint</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.FixtureList.html">FixtureList</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.GearConstraint.html">GearConstraint</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.InversePointProxy.html">InversePointProxy</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.LockConstraint.html">LockConstraint</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.Material.html">Material</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.PointProxy.html">PointProxy</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.PrismaticConstraint.html">PrismaticConstraint</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.RevoluteConstraint.html">RevoluteConstraint</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.RotationalSpring.html">RotationalSpring</a> </li> <li class="class-depth-3"> <a href="Phaser.Physics.P2.Spring.html">Spring</a> </li> <li class="class-depth-1"> <a href="Phaser.Plugin.html">Plugin</a> </li> <li class="class-depth-1"> <a href="Phaser.PluginManager.html">PluginManager</a> </li> <li class="class-depth-1"> <a href="Phaser.Point.html">Point</a> </li> <li class="class-depth-1"> <a href="Phaser.Pointer.html">Pointer</a> </li> <li class="class-depth-1"> <a href="Phaser.PointerMode.html">PointerMode</a> </li> <li class="class-depth-1"> <a href="Phaser.Polygon.html">Polygon</a> </li> <li class="class-depth-1"> <a href="Phaser.QuadTree.html">QuadTree</a> </li> <li class="class-depth-1"> <a href="Phaser.RandomDataGenerator.html">RandomDataGenerator</a> </li> <li class="class-depth-1"> <a href="Phaser.Rectangle.html">Rectangle</a> </li> <li class="class-depth-1"> <a href="Phaser.RenderTexture.html">RenderTexture</a> </li> <li class="class-depth-1"> <a href="Phaser.RequestAnimationFrame.html">RequestAnimationFrame</a> </li> <li class="class-depth-1"> <a href="Phaser.RetroFont.html">RetroFont</a> </li> <li class="class-depth-1"> <a href="Phaser.Rope.html">Rope</a> </li> <li class="class-depth-1"> <a href="Phaser.RoundedRectangle.html">RoundedRectangle</a> </li> <li class="class-depth-1"> <a href="Phaser.ScaleManager.html">ScaleManager</a> </li> <li class="class-depth-1"> <a href="Phaser.Signal.html">Signal</a> </li> <li class="class-depth-1"> <a href="Phaser.SignalBinding.html">SignalBinding</a> </li> <li class="class-depth-1"> <a href="Phaser.SinglePad.html">SinglePad</a> </li> <li class="class-depth-1"> <a href="Phaser.Sound.html">Sound</a> </li> <li class="class-depth-1"> <a href="Phaser.SoundManager.html">SoundManager</a> </li> <li class="class-depth-1"> <a href="Phaser.Sprite.html">Sprite</a> </li> <li class="class-depth-1"> <a href="Phaser.SpriteBatch.html">SpriteBatch</a> </li> <li class="class-depth-1"> <a href="Phaser.Stage.html">Stage</a> </li> <li class="class-depth-1"> <a href="Phaser.State.html">State</a> </li> <li class="class-depth-1"> <a href="Phaser.StateManager.html">StateManager</a> </li> <li class="class-depth-1"> <a href="Phaser.Text.html">Text</a> </li> <li class="class-depth-1"> <a href="Phaser.Tile.html">Tile</a> </li> <li class="class-depth-1"> <a href="Phaser.Tilemap.html">Tilemap</a> </li> <li class="class-depth-1"> <a href="Phaser.TilemapLayer.html">TilemapLayer</a> </li> <li class="class-depth-1"> <a href="Phaser.TilemapParser.html">TilemapParser</a> </li> <li class="class-depth-1"> <a href="Phaser.Tileset.html">Tileset</a> </li> <li class="class-depth-1"> <a href="Phaser.TileSprite.html">TileSprite</a> </li> <li class="class-depth-1"> <a href="Phaser.Time.html">Time</a> </li> <li class="class-depth-1"> <a href="Phaser.Timer.html">Timer</a> </li> <li class="class-depth-1"> <a href="Phaser.TimerEvent.html">TimerEvent</a> </li> <li class="class-depth-1"> <a href="Phaser.Touch.html">Touch</a> </li> <li class="class-depth-1"> <a href="Phaser.Tween.html">Tween</a> </li> <li class="class-depth-1"> <a href="Phaser.TweenData.html">TweenData</a> </li> <li class="class-depth-1"> <a href="Phaser.TweenManager.html">TweenManager</a> </li> <li class="class-depth-1"> <a href="Phaser.Utils.html">Utils</a> </li> <li class="class-depth-2"> <a href="Phaser.Utils.Debug.html">Debug</a> </li> <li class="class-depth-1"> <a href="Phaser.Video.html">Video</a> </li> <li class="class-depth-1"> <a href="Phaser.World.html">World</a> </li> <li class="class-depth-1"> <a href="PIXI.AbstractFilter.html">AbstractFilter</a> </li> <li class="class-depth-1"> <a href="PIXI.BaseTexture.html">BaseTexture</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasBuffer.html">CanvasBuffer</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasGraphics.html">CanvasGraphics</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasMaskManager.html">CanvasMaskManager</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasPool.html">CanvasPool</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasRenderer.html">CanvasRenderer</a> </li> <li class="class-depth-1"> <a href="PIXI.CanvasTinter.html">CanvasTinter</a> </li> <li class="class-depth-1"> <a href="PIXI.ComplexPrimitiveShader.html">ComplexPrimitiveShader</a> </li> <li class="class-depth-1"> <a href="PIXI.DisplayObject.html">DisplayObject</a> </li> <li class="class-depth-1"> <a href="PIXI.DisplayObjectContainer.html">DisplayObjectContainer</a> </li> <li class="class-depth-1"> <a href="PIXI.Event.html">Event</a> </li> <li class="class-depth-1"> <a href="PIXI.EventTarget.html">EventTarget</a> </li> <li class="class-depth-1"> <a href="PIXI.FilterTexture.html">FilterTexture</a> </li> <li class="class-depth-1"> <a href="PIXI.Graphics.html">Graphics</a> </li> <li class="class-depth-1"> <a href="PIXI.GraphicsData.html">GraphicsData</a> </li> <li class="class-depth-1"> <a href="PIXI.PIXI.html">PIXI</a> </li> <li class="class-depth-1"> <a href="PIXI.PixiFastShader.html">PixiFastShader</a> </li> <li class="class-depth-1"> <a href="PIXI.PixiShader.html">PixiShader</a> </li> <li class="class-depth-1"> <a href="PIXI.PolyK.html">PolyK</a> </li> <li class="class-depth-1"> <a href="PIXI.PrimitiveShader.html">PrimitiveShader</a> </li> <li class="class-depth-1"> <a href="PIXI.RenderTexture.html">RenderTexture</a> </li> <li class="class-depth-1"> <a href="PIXI.Rope.html">Rope</a> </li> <li class="class-depth-1"> <a href="PIXI.Sprite.html">Sprite</a> </li> <li class="class-depth-1"> <a href="PIXI.SpriteBatch.html">SpriteBatch</a> </li> <li class="class-depth-1"> <a href="PIXI.Strip.html">Strip</a> </li> <li class="class-depth-1"> <a href="PIXI.StripShader.html">StripShader</a> </li> <li class="class-depth-1"> <a href="PIXI.Texture.html">Texture</a> </li> <li class="class-depth-1"> <a href="PIXI.TilingSprite.html">TilingSprite</a> </li> <li class="class-depth-1"> <a href="PIXI.WebGLBlendModeManager.html">WebGLBlendModeManager</a> </li> <li class="class-depth-1"> <a href="PIXI.WebGLFastSpriteBatch.html">WebGLFastSpriteBatch</a> </li> <li class="class-depth-1"> <a href="PIXI.WebGLFilterManager.html">WebGLFilterManager</a> </li> <li class="class-depth-1"> <a href="PIXI.WebGLRenderer.html">WebGLRenderer</a> </li> </ul> </li> <li class="dropdown"> <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-0"> <a href="global.html#AUTO">AUTO</a> </li> <li class="class-depth-0"> <a href="global.html#BITMAPDATA">BITMAPDATA</a> </li> <li class="class-depth-0"> <a href="global.html#BITMAPTEXT">BITMAPTEXT</a> </li> <li class="class-depth-0"> <a href="global.html#blendModes">blendModes</a> </li> <li class="class-depth-0"> <a href="global.html#BUTTON">BUTTON</a> </li> <li class="class-depth-0"> <a href="global.html#CANVAS">CANVAS</a> </li> <li class="class-depth-0"> <a href="global.html#CANVAS_FILTER">CANVAS_FILTER</a> </li> <li class="class-depth-0"> <a href="global.html#CIRCLE">CIRCLE</a> </li> <li class="class-depth-0"> <a href="global.html#CREATURE">CREATURE</a> </li> <li class="class-depth-0"> <a href="global.html#DOWN">DOWN</a> </li> <li class="class-depth-0"> <a href="global.html#ELLIPSE">ELLIPSE</a> </li> <li class="class-depth-0"> <a href="global.html#EMITTER">EMITTER</a> </li> <li class="class-depth-0"> <a href="global.html#GAMES">GAMES</a> </li> <li class="class-depth-0"> <a href="global.html#GRAPHICS">GRAPHICS</a> </li> <li class="class-depth-0"> <a href="global.html#GROUP">GROUP</a> </li> <li class="class-depth-0"> <a href="global.html#HEADLESS">HEADLESS</a> </li> <li class="class-depth-0"> <a href="global.html#IMAGE">IMAGE</a> </li> <li class="class-depth-0"> <a href="global.html#LEFT">LEFT</a> </li> <li class="class-depth-0"> <a href="global.html#LINE">LINE</a> </li> <li class="class-depth-0"> <a href="global.html#MATRIX">MATRIX</a> </li> <li class="class-depth-0"> <a href="global.html#NONE">NONE</a> </li> <li class="class-depth-0"> <a href="global.html#POINT">POINT</a> </li> <li class="class-depth-0"> <a href="global.html#POINTER">POINTER</a> </li> <li class="class-depth-0"> <a href="global.html#POLYGON">POLYGON</a> </li> <li class="class-depth-0"> <a href="global.html#RECTANGLE">RECTANGLE</a> </li> <li class="class-depth-0"> <a href="global.html#RENDERTEXTURE">RENDERTEXTURE</a> </li> <li class="class-depth-0"> <a href="global.html#RETROFONT">RETROFONT</a> </li> <li class="class-depth-0"> <a href="global.html#RIGHT">RIGHT</a> </li> <li class="class-depth-0"> <a href="global.html#ROPE">ROPE</a> </li> <li class="class-depth-0"> <a href="global.html#ROUNDEDRECTANGLE">ROUNDEDRECTANGLE</a> </li> <li class="class-depth-0"> <a href="global.html#scaleModes">scaleModes</a> </li> <li class="class-depth-0"> <a href="global.html#SPRITE">SPRITE</a> </li> <li class="class-depth-0"> <a href="global.html#SPRITEBATCH">SPRITEBATCH</a> </li> <li class="class-depth-0"> <a href="global.html#TEXT">TEXT</a> </li> <li class="class-depth-0"> <a href="global.html#TILEMAP">TILEMAP</a> </li> <li class="class-depth-0"> <a href="global.html#TILEMAPLAYER">TILEMAPLAYER</a> </li> <li class="class-depth-0"> <a href="global.html#TILESPRITE">TILESPRITE</a> </li> <li class="class-depth-0"> <a href="global.html#UP">UP</a> </li> <li class="class-depth-0"> <a href="global.html#VERSION">VERSION</a> </li> <li class="class-depth-0"> <a href="global.html#VIDEO">VIDEO</a> </li> <li class="class-depth-0"> <a href="global.html#WEBGL">WEBGL</a> </li> <li class="class-depth-0"> <a href="global.html#WEBGL_FILTER">WEBGL_FILTER</a> </li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Core<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="Phaser.Game.html">Game</a></li> <li class="class-depth-1"><a href="Phaser.Group.html">Group</a></li> <li class="class-depth-1"><a href="Phaser.World.html">World</a></li> <li class="class-depth-1"><a href="Phaser.Loader.html">Loader</a></li> <li class="class-depth-1"><a href="Phaser.Cache.html">Cache</a></li> <li class="class-depth-1"><a href="Phaser.Time.html">Time</a></li> <li class="class-depth-1"><a href="Phaser.Camera.html">Camera</a></li> <li class="class-depth-1"><a href="Phaser.StateManager.html">State Manager</a></li> <li class="class-depth-1"><a href="Phaser.TweenManager.html">Tween Manager</a></li> <li class="class-depth-1"><a href="Phaser.SoundManager.html">Sound Manager</a></li> <li class="class-depth-1"><a href="Phaser.Input.html">Input Manager</a></li> <li class="class-depth-1"><a href="Phaser.ScaleManager.html">Scale Manager</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Game Objects<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="Phaser.GameObjectFactory.html">Factory (game.add)</a></li> <li class="class-depth-1"><a href="Phaser.GameObjectCreator.html">Creator (game.make)</a></li> <li class="class-depth-1"><a href="Phaser.Sprite.html">Sprite</a></li> <li class="class-depth-1"><a href="Phaser.Image.html">Image</a></li> <li class="class-depth-1"><a href="Phaser.Sound.html">Sound</a></li> <li class="class-depth-1"><a href="Phaser.Video.html">Video</a></li> <li class="class-depth-1"><a href="Phaser.Particles.Arcade.Emitter.html">Particle Emitter</a></li> <li class="class-depth-1"><a href="Phaser.Particle.html">Particle</a></li> <li class="class-depth-1"><a href="Phaser.Text.html">Text</a></li> <li class="class-depth-1"><a href="Phaser.Tween.html">Tween</a></li> <li class="class-depth-1"><a href="Phaser.BitmapText.html">BitmapText</a></li> <li class="class-depth-1"><a href="Phaser.Tilemap.html">Tilemap</a></li> <li class="class-depth-1"><a href="Phaser.BitmapData.html">BitmapData</a></li> <li class="class-depth-1"><a href="Phaser.RetroFont.html">RetroFont</a></li> <li class="class-depth-1"><a href="Phaser.Button.html">Button</a></li> <li class="class-depth-1"><a href="Phaser.Animation.html">Animation</a></li> <li class="class-depth-1"><a href="Phaser.Graphics.html">Graphics</a></li> <li class="class-depth-1"><a href="Phaser.RenderTexture.html">RenderTexture</a></li> <li class="class-depth-1"><a href="Phaser.TileSprite.html">TileSprite</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Geometry<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="Phaser.Circle.html">Circle</a></li> <li class="class-depth-1"><a href="Phaser.Ellipse.html">Ellipse</a></li> <li class="class-depth-1"><a href="Phaser.Line.html">Line</a></li> <li class="class-depth-1"><a href="Phaser.Matrix.html">Matrix</a></li> <li class="class-depth-1"><a href="Phaser.Point.html">Point</a></li> <li class="class-depth-1"><a href="Phaser.Polygon.html">Polygon</a></li> <li class="class-depth-1"><a href="Phaser.Rectangle.html">Rectangle</a></li> <li class="class-depth-1"><a href="Phaser.RoundedRectangle.html">Rounded Rectangle</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Physics<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="Phaser.Physics.Arcade.html">Arcade Physics</a></li> <li class="class-depth-2"><a href="Phaser.Physics.Arcade.Body.html">Body</a></li> <li class="class-depth-1"><a href="Phaser.Physics.P2.html">P2 Physics</a></li> <li class="class-depth-2"><a href="Phaser.Physics.P2.Body.html">Body</a></li> <li class="class-depth-2"><a href="Phaser.Physics.P2.Spring.html">Spring</a></li> <li class="class-depth-2"><a href="Phaser.Physics.P2.CollisionGroup.html">CollisionGroup</a></li> <li class="class-depth-2"><a href="Phaser.Physics.P2.ContactMaterial.html">ContactMaterial</a></li> <li class="class-depth-1"><a href="Phaser.Physics.Ninja.html">Ninja Physics</a></li> <li class="class-depth-2"><a href="Phaser.Physics.Body.html">Body</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Input<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="Phaser.InputHandler.html">Input Handler</a></li> <li class="class-depth-1"><a href="Phaser.Pointer.html">Pointer</a></li> <li class="class-depth-1"><a href="Phaser.DeviceButton.html">Device Button</a></li> <li class="class-depth-1"><a href="Phaser.Mouse.html">Mouse</a></li> <li class="class-depth-1"><a href="Phaser.Keyboard.html">Keyboard</a></li> <li class="class-depth-1"><a href="Phaser.Key.html">Key</a></li> <li class="class-depth-1"><a href="Phaser.Gamepad.html">Gamepad</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Community<b class="caret"></b></a> <ul class="dropdown-menu "> <li class="class-depth-1"><a href="http://phaser.io">Phaser Web Site</a></li> <li class="class-depth-1"><a href="https://github.com/photonstorm/phaser">Phaser Github</a></li> <li class="class-depth-1"><a href="http://phaser.io/examples">Phaser Examples</a></li> <li class="class-depth-1"><a href="https://github.com/photonstorm/phaser-plugins">Phaser Plugins</a></li> <li class="class-depth-1"><a href="http://www.html5gamedevs.com/forum/14-phaser/">Forum</a></li> <li class="class-depth-1"><a href="http://stackoverflow.com/questions/tagged/phaser-framework">Stack Overflow</a></li> <li class="class-depth-1"><a href="http://phaser.io/learn">Tutorials</a></li> <li class="class-depth-1"><a href="https://confirmsubscription.com/h/r/369DE48E3E86AF1E">Newsletter</a></li> <li class="class-depth-1"><a href="http://phaser.io/community/twitter">Twitter</a></li> <li class="class-depth-1"><a href="http://phaser.io/community/irc">IRC</a></li> <li class="class-depth-1"><a href="https://www.codeandweb.com/texturepacker/phaser">Texture Packer</a></li> </ul> </li> </ul> </div> </div> <div class="row-fluid"> <div class="span8"> <div id="main"> <!--<h1 class="page-title">Class: Tween</h1>--> <section> <header> <h2> <span class="ancestors"><a href="Phaser.html">Phaser</a>.</span> Tween </h2> </header> <article> <div class="container-overview"> <dt> <h4 class="name " id="Tween"><span class="type-signature"></span>new Tween<span class="signature">(target, game, manager)</span><span class="type-signature"></span></h4> </dt> <dd> <div class="description"> <p>A Tween allows you to alter one or more properties of a target object over a defined period of time. This can be used for things such as alpha fading Sprites, scaling them or motion. Use <code>Tween.to</code> or <code>Tween.from</code> to set-up the tween values. You can create multiple tweens on the same object by calling Tween.to multiple times on the same Tween. Additional tweens specified in this way become &quot;child&quot; tweens and are played through in sequence. You can use Tween.timeScale and Tween.reverse to control the playback of this Tween and all of its children.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>target</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The target object, such as a Phaser.Sprite or Phaser.Sprite.scale.</p></td> </tr> <tr> <td class="name"><code>game</code></td> <td class="type"> <span class="param-type"><a href="Phaser.Game.html">Phaser.Game</a></span> </td> <td class="description last"><p>Current game instance.</p></td> </tr> <tr> <td class="name"><code>manager</code></td> <td class="type"> <span class="param-type"><a href="Phaser.TweenManager.html">Phaser.TweenManager</a></span> </td> <td class="description last"><p>The TweenManager responsible for looking after this Tween.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-20">line 20</a> </dt> </dl> </dd> </div> <h3 class="subsection-title">Members</h3> <dl> <dt> <h4 class="name " id="chainedTween"><span class="type-signature"></span>chainedTween<span class="type-signature"> :<a href="Phaser.Tween.html">Phaser.Tween</a></span></h4> </dt> <dd> <div class="description"> <p>If this Tween is chained to another this holds a reference to it.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-129">line 129</a> </dt> </dl> </dd> <dt> <h4 class="name " id="current"><span class="type-signature">&lt;readonly> </span>current<span class="type-signature"> :number</span></h4> </dt> <dd> <div class="description"> <p>The current Tween child being run.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-119">line 119</a> </dt> </dl> </dd> <dt> <h4 class="name " id="frameBased"><span class="type-signature"></span>frameBased<span class="type-signature"> :boolean</span></h4> </dt> <dd> <div class="description"> <p>Is this Tween frame or time based? A frame based tween will use the physics elapsed timer when updating. This means it will retain the same consistent frame rate, regardless of the speed of the device. The duration value given should be given in frames.</p> <p>If the Tween uses a time based update (which is the default) then the duration is given in milliseconds. In this situation a 2000ms tween will last exactly 2 seconds, regardless of the device and how many visual updates the tween has actually been through. For very short tweens you may wish to experiment with a frame based update instead.</p> <p>The default value is whatever you've set in TweenManager.frameBased.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-151">line 151</a> </dt> </dl> </dd> <dt> <h4 class="name " id="game"><span class="type-signature"></span>game<span class="type-signature"> :<a href="Phaser.Game.html">Phaser.Game</a></span></h4> </dt> <dd> <div class="description"> <p>A reference to the currently running Game.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-25">line 25</a> </dt> </dl> </dd> <dt> <h4 class="name " id="isPaused"><span class="type-signature"></span>isPaused<span class="type-signature"> :boolean</span></h4> </dt> <dd> <div class="description"> <p>Is this Tween paused or not?</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-135">line 135</a> </dt> </dl> </dd> <dt> <h4 class="name " id="isRunning"><span class="type-signature"></span>isRunning<span class="type-signature"> :boolean</span></h4> </dt> <dd> <div class="description"> <p>If the tween is running this is set to true, otherwise false. Tweens that are in a delayed state or waiting to start are considered as being running.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-112">line 112</a> </dt> </dl> </dd> <dt> <h4 class="name " id="manager"><span class="type-signature"></span>manager<span class="type-signature"> :<a href="Phaser.TweenManager.html">Phaser.TweenManager</a></span></h4> </dt> <dd> <div class="description"> <p>Reference to the TweenManager responsible for updating this Tween.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-35">line 35</a> </dt> </dl> </dd> <dt> <h4 class="name " id="onChildComplete"><span class="type-signature"></span>onChildComplete<span class="type-signature"> :<a href="Phaser.Signal.html">Phaser.Signal</a></span></h4> </dt> <dd> <div class="description"> <p>The onChildComplete event is fired when the Tween or any of its children completes. Fires every time a child completes unless a child is set to repeat forever. It will be sent 2 parameters: the target object and this tween.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-99">line 99</a> </dt> </dl> </dd> <dt> <h4 class="name " id="onComplete"><span class="type-signature"></span>onComplete<span class="type-signature"> :<a href="Phaser.Signal.html">Phaser.Signal</a></span></h4> </dt> <dd> <div class="description"> <p>The onComplete event is fired when the Tween and all of its children completes. Does not fire if the Tween is set to loop or repeatAll(-1). It will be sent 2 parameters: the target object and this tween.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-106">line 106</a> </dt> </dl> </dd> <dt> <h4 class="name " id="onLoop"><span class="type-signature"></span>onLoop<span class="type-signature"> :<a href="Phaser.Signal.html">Phaser.Signal</a></span></h4> </dt> <dd> <div class="description"> <p>The onLoop event is fired if the Tween or any child tween loops. It will be sent 2 parameters: the target object and this tween.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-84">line 84</a> </dt> </dl> </dd> <dt> <h4 class="name " id="onRepeat"><span class="type-signature"></span>onRepeat<span class="type-signature"> :<a href="Phaser.Signal.html">Phaser.Signal</a></span></h4> </dt> <dd> <div class="description"> <p>The onRepeat event is fired if the Tween and all of its children repeats. If this tween has no children this will never be fired. It will be sent 2 parameters: the target object and this tween.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-91">line 91</a> </dt> </dl> </dd> <dt> <h4 class="name " id="onStart"><span class="type-signature"></span>onStart<span class="type-signature"> :<a href="Phaser.Signal.html">Phaser.Signal</a></span></h4> </dt> <dd> <div class="description"> <p>The onStart event is fired when the Tween begins. If there is a delay before the tween starts then onStart fires after the delay is finished. It will be sent 2 parameters: the target object and this tween.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-77">line 77</a> </dt> </dl> </dd> <dt> <h4 class="name " id="pendingDelete"><span class="type-signature">&lt;readonly> </span>pendingDelete<span class="type-signature"> :boolean</span></h4> </dt> <dd> <div class="description"> <p>True if this Tween is ready to be deleted by the TweenManager.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-70">line 70</a> </dt> </dl> </dd> <dt> <h4 class="name " id="properties"><span class="type-signature"></span>properties<span class="type-signature"> :object</span></h4> </dt> <dd> <div class="description"> <p>Target property cache used when building the child data values.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-124">line 124</a> </dt> </dl> </dd> <dt> <h4 class="name " id="repeatCounter"><span class="type-signature"></span>repeatCounter<span class="type-signature"> :number</span></h4> </dt> <dd> <div class="description"> <p>If the Tween and any child tweens are set to repeat this contains the current repeat count.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-63">line 63</a> </dt> </dl> </dd> <dt> <h4 class="name " id="reverse"><span class="type-signature"></span>reverse<span class="type-signature"> :boolean</span></h4> </dt> <dd> <div class="description"> <p>If set to <code>true</code> the current tween will play in reverse. If the tween hasn't yet started this has no effect. If there are child tweens then all child tweens will play in reverse from the current point.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-49">line 49</a> </dt> </dl> </dd> <dt> <h4 class="name " id="target"><span class="type-signature"></span>target<span class="type-signature"> :object</span></h4> </dt> <dd> <div class="description"> <p>The target object, such as a Phaser.Sprite or property like Phaser.Sprite.scale.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-30">line 30</a> </dt> </dl> </dd> <dt> <h4 class="name " id="timeline"><span class="type-signature"></span>timeline<span class="type-signature"> :Array</span></h4> </dt> <dd> <div class="description"> <p>An Array of TweenData objects that comprise the different parts of this Tween.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-40">line 40</a> </dt> </dl> </dd> <dt> <h4 class="name " id="timeScale"><span class="type-signature"></span>timeScale<span class="type-signature"> :number</span></h4> </dt> <dd> <div class="description"> <p>The speed at which the tweens will run. A value of 1 means it will match the game frame rate. 0.5 will run at half the frame rate. 2 at double the frame rate, etc. If a tweens duration is 1 second but timeScale is 0.5 then it will take 2 seconds to complete.</p> </div> <dl class="details"> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"><li>1</li></ul></dd> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-58">line 58</a> </dt> </dl> </dd> <dt> <h4 class="name " id="totalDuration"><span class="type-signature"></span>totalDuration<span class="type-signature"> :<a href="Phaser.TweenData.html">Phaser.TweenData</a></span></h4> </dt> <dd> <div class="description"> <p>Gets the total duration of this Tween, including all child tweens, in milliseconds.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-894">line 894</a> </dt> </dl> </dd> </dl> <h3 class="subsection-title">Methods</h3> <dl> <dt> <h4 class="name " id="chain"><span class="type-signature"></span>chain<span class="signature">(tweens)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>This method allows you to chain tweens together. Any tween chained to this tween will have its <code>Tween.start</code> method called as soon as this tween completes. If this tween never completes (i.e. repeatAll or loop is set) then the chain will never progress. Note that <code>Tween.onComplete</code> will fire when <em>this</em> tween completes, not when the whole chain completes. For that you should listen to <code>onComplete</code> on the final tween in your chain.</p> <p>If you pass multiple tweens to this method they will be joined into a single long chain. For example if this is Tween A and you pass in B, C and D then B will be chained to A, C will be chained to B and D will be chained to C. Any previously chained tweens that may have been set will be overwritten.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>tweens</code></td> <td class="type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> </td> <td class="attributes"> &lt;repeatable><br> </td> <td class="description last"><p>One or more tweens that will be chained to this one.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-565">line 565</a> </dt> </dl> </dd> <dt> <h4 class="name " id="delay"><span class="type-signature"></span>delay<span class="signature">(duration, <span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Sets the delay in milliseconds before this tween will start. If there are child tweens it sets the delay before the first child starts. The delay is invoked as soon as you call <code>Tween.start</code>. If the tween is already running this method doesn't do anything for the current active tween. If you have not yet called <code>Tween.to</code> or <code>Tween.from</code> at least once then this method will do nothing, as there are no tweens to delay. If you have child tweens and pass -1 as the index value it sets the delay across all of them.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>duration</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>The amount of time in ms that the Tween should wait until it begins once started is called. Set to zero to remove any active delay.</p></td> </tr> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>If this tween has more than one child this allows you to target a specific child. If set to -1 it will set the delay on all the children.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-406">line 406</a> </dt> </dl> </dd> <dt> <h4 class="name " id="easing"><span class="type-signature"></span>easing<span class="signature">(ease, <span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Set easing function this tween will use, i.e. Phaser.Easing.Linear.None. The ease function allows you define the rate of change. You can pass either a function such as Phaser.Easing.Circular.Out or a string such as &quot;Circ&quot;. &quot;.easeIn&quot;, &quot;.easeOut&quot; and &quot;easeInOut&quot; variants are all supported for all ease types. If you have child tweens and pass -1 as the index value it sets the easing function defined here across all of them.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>ease</code></td> <td class="type"> <span class="param-type">function</span> | <span class="param-type">string</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>The easing function this tween will use, i.e. Phaser.Easing.Linear.None.</p></td> </tr> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>If this tween has more than one child this allows you to target a specific child. If set to -1 it will set the easing function on all children.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-502">line 502</a> </dt> </dl> </dd> <dt> <h4 class="name " id="from"><span class="type-signature"></span>from<span class="signature">(properties, <span class="optional">duration</span>, <span class="optional">ease</span>, <span class="optional">autoStart</span>, <span class="optional">delay</span>, <span class="optional">repeat</span>, <span class="optional">yoyo</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Sets this tween to be a <code>from</code> tween on the properties given. A <code>from</code> tween sets the target to the destination value and tweens to its current value. For example a Sprite with an <code>x</code> coordinate of 100 tweened from <code>x</code> 500 would be set to <code>x</code> 500 and then tweened to <code>x</code> 100 by giving a properties object of <code>{ x: 500 }</code>. The ease function allows you define the rate of change. You can pass either a function such as Phaser.Easing.Circular.Out or a string such as &quot;Circ&quot;. &quot;.easeIn&quot;, &quot;.easeOut&quot; and &quot;easeInOut&quot; variants are all supported for all ease types.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>properties</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>An object containing the properties you want to tween., such as <code>Sprite.x</code> or <code>Sound.volume</code>. Given as a JavaScript object.</p></td> </tr> <tr> <td class="name"><code>duration</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 1000 </td> <td class="description last"><p>Duration of this tween in ms. Or if <code>Tween.frameBased</code> is true this represents the number of frames that should elapse.</p></td> </tr> <tr> <td class="name"><code>ease</code></td> <td class="type"> <span class="param-type">function</span> | <span class="param-type">string</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> null </td> <td class="description last"><p>Easing function. If not set it will default to Phaser.Easing.Default, which is Phaser.Easing.Linear.None by default but can be over-ridden.</p></td> </tr> <tr> <td class="name"><code>autoStart</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> false </td> <td class="description last"><p>Set to <code>true</code> to allow this tween to start automatically. Otherwise call Tween.start().</p></td> </tr> <tr> <td class="name"><code>delay</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>Delay before this tween will start in milliseconds. Defaults to 0, no delay.</p></td> </tr> <tr> <td class="name"><code>repeat</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>Should the tween automatically restart once complete? If you want it to run forever set as -1. This only effects this induvidual tween, not any chained tweens.</p></td> </tr> <tr> <td class="name"><code>yoyo</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> false </td> <td class="description last"><p>A tween that yoyos will reverse itself and play backwards automatically. A yoyo'd tween doesn't fire the Tween.onComplete event, so listen for Tween.onLoop instead.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This Tween object.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-236">line 236</a> </dt> </dl> </dd> <dt> <h4 class="name " id="generateData"><span class="type-signature"></span>generateData<span class="signature">(<span class="optional">frameRate</span>, <span class="optional">data</span>)</span><span class="type-signature"> &rarr; {array}</span></h4> </dt> <dd> <div class="description"> <p>This will generate an array populated with the tweened object values from start to end. It works by running the tween simulation at the given frame rate based on the values set-up in Tween.to and Tween.from. It ignores delay and repeat counts and any chained tweens, but does include child tweens. Just one play through of the tween data is returned, including yoyo if set.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>frameRate</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 60 </td> <td class="description last"><p>The speed in frames per second that the data should be generated at. The higher the value, the larger the array it creates.</p></td> </tr> <tr> <td class="name"><code>data</code></td> <td class="type"> <span class="param-type">array</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> </td> <td class="description last"><p>If given the generated data will be appended to this array, otherwise a new array will be returned.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type">array</span> - </div> <div class="returns-desc param-desc"> <p>An array of tweened values.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-836">line 836</a> </dt> </dl> </dd> <dt> <h4 class="name " id="interpolation"><span class="type-signature"></span>interpolation<span class="signature">(interpolation, <span class="optional">context</span>, <span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Sets the interpolation function the tween will use. By default it uses Phaser.Math.linearInterpolation. Also available: Phaser.Math.bezierInterpolation and Phaser.Math.catmullRomInterpolation. The interpolation function is only used if the target properties is an array. If you have child tweens and pass -1 as the index value and it will set the interpolation function across all of them.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>interpolation</code></td> <td class="type"> <span class="param-type">function</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>The interpolation function to use (Phaser.Math.linearInterpolation by default)</p></td> </tr> <tr> <td class="name"><code>context</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> </td> <td class="description last"><p>The context under which the interpolation function will be run.</p></td> </tr> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>If this tween has more than one child this allows you to target a specific child. If set to -1 it will set the interpolation function on all children.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-524">line 524</a> </dt> </dl> </dd> <dt> <h4 class="name " id="loop"><span class="type-signature"></span>loop<span class="signature">(<span class="optional">value</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Enables the looping of this tween and all child tweens. If this tween has no children this setting has no effect. If <code>value</code> is <code>true</code> then this is the same as setting <code>Tween.repeatAll(-1)</code>. If <code>value</code> is <code>false</code> it is the same as setting <code>Tween.repeatAll(0)</code> and will reset the <code>repeatCounter</code> to zero.</p> <p>Usage: game.add.tween(p).to({ x: 700 }, 1000, Phaser.Easing.Linear.None, true) .to({ y: 300 }, 1000, Phaser.Easing.Linear.None) .to({ x: 0 }, 1000, Phaser.Easing.Linear.None) .to({ y: 0 }, 1000, Phaser.Easing.Linear.None) .loop();</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>value</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> true </td> <td class="description last"><p>If <code>true</code> this tween and any child tweens will loop once they reach the end. Set to <code>false</code> to remove an active loop.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-599">line 599</a> </dt> </dl> </dd> <dt> <h4 class="name " id="onUpdateCallback"><span class="type-signature"></span>onUpdateCallback<span class="signature">(callback, callbackContext)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Sets a callback to be fired each time this tween updates.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>callback</code></td> <td class="type"> <span class="param-type">function</span> </td> <td class="description last"><p>The callback to invoke each time this tween is updated. Set to <code>null</code> to remove an already active callback.</p></td> </tr> <tr> <td class="name"><code>callbackContext</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last"><p>The context in which to call the onUpdate callback.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-631">line 631</a> </dt> </dl> </dd> <dt> <h4 class="name " id="pause"><span class="type-signature"></span>pause<span class="signature">()</span><span class="type-signature"></span></h4> </dt> <dd> <div class="description"> <p>Pauses the tween. Resume playback with Tween.resume.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-648">line 648</a> </dt> </dl> </dd> <dt> <h4 class="name " id="repeat"><span class="type-signature"></span>repeat<span class="signature">(total)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Set how many times this tween and all of its children will repeat. A tween (A) with 3 children (B,C,D) with a <code>repeatAll</code> value of 2 would play as: ABCDABCD before completing. When all child tweens have completed Tween.onLoop will be dispatched.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>total</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>How many times this tween and all children should repeat before completing. Set to zero to remove an active repeat. Set to -1 to repeat forever.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-546">line 546</a> </dt> </dl> </dd> <dt> <h4 class="name " id="repeat"><span class="type-signature"></span>repeat<span class="signature">(total, <span class="optional">repeat</span>, <span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Sets the number of times this tween will repeat. If you have not yet called <code>Tween.to</code> or <code>Tween.from</code> at least once then this method will do nothing, as there are no tweens to repeat. If you have child tweens and pass -1 as the index value it sets the number of times they'll repeat across all of them. If you wish to define how many times this Tween and all children will repeat see Tween.repeatAll.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>total</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>How many times a tween should repeat before completing. Set to zero to remove an active repeat. Set to -1 to repeat forever.</p></td> </tr> <tr> <td class="name"><code>repeat</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>This is the amount of time to pause (in ms) before the repeat will start.</p></td> </tr> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>If this tween has more than one child this allows you to target a specific child. If set to -1 it will set the repeat value on all the children.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-423">line 423</a> </dt> </dl> </dd> <dt> <h4 class="name " id="repeatDelay"><span class="type-signature"></span>repeatDelay<span class="signature">(duration, <span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Sets the delay in milliseconds before this tween will repeat itself. The repeatDelay is invoked as soon as you call <code>Tween.start</code>. If the tween is already running this method doesn't do anything for the current active tween. If you have not yet called <code>Tween.to</code> or <code>Tween.from</code> at least once then this method will do nothing, as there are no tweens to set repeatDelay on. If you have child tweens and pass -1 as the index value it sets the repeatDelay across all of them.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>duration</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>The amount of time in ms that the Tween should wait until it repeats or yoyos once start is called. Set to zero to remove any active repeatDelay.</p></td> </tr> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>If this tween has more than one child this allows you to target a specific child. If set to -1 it will set the repeatDelay on all the children.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-445">line 445</a> </dt> </dl> </dd> <dt> <h4 class="name " id="resume"><span class="type-signature"></span>resume<span class="signature">()</span><span class="type-signature"></span></h4> </dt> <dd> <div class="description"> <p>Resumes a paused tween.</p> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-680">line 680</a> </dt> </dl> </dd> <dt> <h4 class="name " id="start"><span class="type-signature"></span>start<span class="signature">(<span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Starts the tween running. Can also be called by the autoStart parameter of <code>Tween.to</code> or <code>Tween.from</code>. This sets the <code>Tween.isRunning</code> property to <code>true</code> and dispatches a <code>Tween.onStart</code> signal. If the Tween has a delay set then nothing will start tweening until the delay has expired.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>If this Tween contains child tweens you can specify which one to start from. The default is zero, i.e. the first tween created.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-283">line 283</a> </dt> </dl> </dd> <dt> <h4 class="name " id="stop"><span class="type-signature"></span>stop<span class="signature">(<span class="optional">complete</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Stops the tween if running and flags it for deletion from the TweenManager. If called directly the <code>Tween.onComplete</code> signal is not dispatched and no chained tweens are started unless the complete parameter is set to <code>true</code>. If you just wish to pause a tween then use Tween.pause instead.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>complete</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> false </td> <td class="description last"><p>Set to <code>true</code> to dispatch the Tween.onComplete signal.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-339">line 339</a> </dt> </dl> </dd> <dt> <h4 class="name " id="to"><span class="type-signature"></span>to<span class="signature">(properties, <span class="optional">duration</span>, <span class="optional">ease</span>, <span class="optional">autoStart</span>, <span class="optional">delay</span>, <span class="optional">repeat</span>, <span class="optional">yoyo</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Sets this tween to be a <code>to</code> tween on the properties given. A <code>to</code> tween starts at the current value and tweens to the destination value given. For example a Sprite with an <code>x</code> coordinate of 100 could be tweened to <code>x</code> 200 by giving a properties object of <code>{ x: 200 }</code>. The ease function allows you define the rate of change. You can pass either a function such as Phaser.Easing.Circular.Out or a string such as &quot;Circ&quot;. &quot;.easeIn&quot;, &quot;.easeOut&quot; and &quot;easeInOut&quot; variants are all supported for all ease types.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>properties</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>An object containing the properties you want to tween, such as <code>Sprite.x</code> or <code>Sound.volume</code>. Given as a JavaScript object.</p></td> </tr> <tr> <td class="name"><code>duration</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 1000 </td> <td class="description last"><p>Duration of this tween in ms. Or if <code>Tween.frameBased</code> is true this represents the number of frames that should elapse.</p></td> </tr> <tr> <td class="name"><code>ease</code></td> <td class="type"> <span class="param-type">function</span> | <span class="param-type">string</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> null </td> <td class="description last"><p>Easing function. If not set it will default to Phaser.Easing.Default, which is Phaser.Easing.Linear.None by default but can be over-ridden.</p></td> </tr> <tr> <td class="name"><code>autoStart</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> false </td> <td class="description last"><p>Set to <code>true</code> to allow this tween to start automatically. Otherwise call Tween.start().</p></td> </tr> <tr> <td class="name"><code>delay</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>Delay before this tween will start in milliseconds. Defaults to 0, no delay.</p></td> </tr> <tr> <td class="name"><code>repeat</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>Should the tween automatically restart once complete? If you want it to run forever set as -1. This only effects this induvidual tween, not any chained tweens.</p></td> </tr> <tr> <td class="name"><code>yoyo</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> false </td> <td class="description last"><p>A tween that yoyos will reverse itself and play backwards automatically. A yoyo'd tween doesn't fire the Tween.onComplete event, so listen for Tween.onLoop instead.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This Tween object.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-189">line 189</a> </dt> </dl> </dd> <dt> <h4 class="name " id="update"><span class="type-signature"></span>update<span class="signature">(time)</span><span class="type-signature"> &rarr; {boolean}</span></h4> </dt> <dd> <div class="description"> <p>Core tween update function called by the TweenManager. Does not need to be invoked directly.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>time</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last"><p>A timestamp passed in by the TweenManager.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type">boolean</span> - </div> <div class="returns-desc param-desc"> <p>false if the tween and all child tweens have completed and should be deleted from the manager, otherwise true (still active).</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-722">line 722</a> </dt> </dl> </dd> <dt> <h4 class="name " id="updateTweenData"><span class="type-signature"></span>updateTweenData<span class="signature">(property, value, <span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Updates either a single TweenData or all TweenData objects properties to the given value. Used internally by methods like Tween.delay, Tween.yoyo, etc. but can also be called directly if you know which property you want to tweak. The property is not checked, so if you pass an invalid one you'll generate a run-time error.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>property</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>The property to update.</p></td> </tr> <tr> <td class="name"><code>value</code></td> <td class="type"> <span class="param-type">number</span> | <span class="param-type">function</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>The value to set the property to.</p></td> </tr> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>If this tween has more than one child this allows you to target a specific child. If set to -1 it will set the delay on all the children.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-373">line 373</a> </dt> </dl> </dd> <dt> <h4 class="name " id="yoyo"><span class="type-signature"></span>yoyo<span class="signature">(enable, <span class="optional">yoyoDelay</span>, <span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>A Tween that has yoyo set to true will run through from its starting values to its end values and then play back in reverse from end to start. Used in combination with repeat you can create endless loops. If you have not yet called <code>Tween.to</code> or <code>Tween.from</code> at least once then this method will do nothing, as there are no tweens to yoyo. If you have child tweens and pass -1 as the index value it sets the yoyo property across all of them. If you wish to yoyo this Tween and all of its children then see Tween.yoyoAll.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>enable</code></td> <td class="type"> <span class="param-type">boolean</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>Set to true to yoyo this tween, or false to disable an already active yoyo.</p></td> </tr> <tr> <td class="name"><code>yoyoDelay</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>This is the amount of time to pause (in ms) before the yoyo will start.</p></td> </tr> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>If this tween has more than one child this allows you to target a specific child. If set to -1 it will set yoyo on all the children.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-462">line 462</a> </dt> </dl> </dd> <dt> <h4 class="name " id="yoyoDelay"><span class="type-signature"></span>yoyoDelay<span class="signature">(duration, <span class="optional">index</span>)</span><span class="type-signature"> &rarr; {<a href="Phaser.Tween.html">Phaser.Tween</a>}</span></h4> </dt> <dd> <div class="description"> <p>Sets the delay in milliseconds before this tween will run a yoyo (only applies if yoyo is enabled). The repeatDelay is invoked as soon as you call <code>Tween.start</code>. If the tween is already running this method doesn't do anything for the current active tween. If you have not yet called <code>Tween.to</code> or <code>Tween.from</code> at least once then this method will do nothing, as there are no tweens to set repeatDelay on. If you have child tweens and pass -1 as the index value it sets the repeatDelay across all of them.</p> </div> <h5>Parameters:</h5> <table class="params table table-striped"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Argument</th> <th>Default</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>duration</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> </td> <td class="default"> </td> <td class="description last"><p>The amount of time in ms that the Tween should wait until it repeats or yoyos once start is called. Set to zero to remove any active yoyoDelay.</p></td> </tr> <tr> <td class="name"><code>index</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="attributes"> &lt;optional><br> </td> <td class="default"> 0 </td> <td class="description last"><p>If this tween has more than one child this allows you to target a specific child. If set to -1 it will set the yoyoDelay on all the children.</p></td> </tr> </tbody> </table> <h5>Returns:</h5> <div class="returns"> <div class="returns-type"> <span class="param-type"><a href="Phaser.Tween.html">Phaser.Tween</a></span> - </div> <div class="returns-desc param-desc"> <p>This tween. Useful for method chaining.</p> </div> </div> <dl class="details"> <dt class="tag-source">Source - <a href="src_tween_Tween.js.html">tween/Tween.js</a>, <a href="src_tween_Tween.js.html#sunlight-1-line-485">line 485</a> </dt> </dl> </dd> </dl> </article> </section> </div> <div class="clearfix"></div> <footer> <span class="copyright"> Phaser Copyright © 2012-2015 Photon Storm Ltd. </span> <br /> <span class="jsdoc-message"> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.2</a> on Thu Oct 15 2015 12:05:07 GMT+0100 (GMT Daylight Time) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>. </span> </footer> </div> <div class="span3"> <div id="toc"></div> </div> <br clear="both"> </div> </div> <script src="scripts/sunlight.js"></script> <script src="scripts/sunlight.javascript.js"></script> <script src="scripts/sunlight-plugin.doclinks.js"></script> <script src="scripts/sunlight-plugin.linenumbers.js"></script> <script src="scripts/sunlight-plugin.menu.js"></script> <script src="scripts/jquery.min.js"></script> <script src="scripts/jquery.scrollTo.js"></script> <script src="scripts/jquery.localScroll.js"></script> <script src="scripts/bootstrap-dropdown.js"></script> <script src="scripts/toc.js"></script> <script> Sunlight.highlightAll({lineNumbers:true, showMenu: true, enableDoclinks :true}); </script> <script> $( function () { $( "#toc" ).toc( { anchorName : function(i, heading, prefix) { return $(heading).attr("id") || ( prefix + i ); }, selectors : "h1,h2,h3,h4", showAndHide : false, scrollTo : 60 } ); $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); $( "#main span[id^='toc']" ).addClass( "toc-shim" ); } ); </script> </body> </html>
Bamboo3000/krakjam
phaser/docs/Phaser.Tween.html
HTML
mit
118,009
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Attributes of Primitive Components</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../index.html" title="Spirit 2.5.2"> <link rel="up" href="../attributes.html" title="Attributes"> <link rel="prev" href="../attributes.html" title="Attributes"> <link rel="next" href="compound_attributes.html" title="Attributes of Compound Components"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="../attributes.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../attributes.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="compound_attributes.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="spirit.abstracts.attributes.primitive_attributes"></a><a class="link" href="primitive_attributes.html" title="Attributes of Primitive Components">Attributes of Primitive Components</a> </h4></div></div></div> <p> Parsers and generators in <a href="http://boost-spirit.com" target="_top">Spirit</a> are fully attributed. <span class="emphasis"><em>Spirit.Qi</em></span> parsers always <span class="emphasis"><em>expose</em></span> an attribute specific to their type. This is called <span class="emphasis"><em>synthesized attribute</em></span> as it is returned from a successful match representing the matched input sequence. For instance, numeric parsers, such as <code class="computeroutput"><span class="identifier">int_</span></code> or <code class="computeroutput"><span class="identifier">double_</span></code>, return the <code class="computeroutput"><span class="keyword">int</span></code> or <code class="computeroutput"><span class="keyword">double</span></code> value converted from the matched input sequence. Other primitive parser components have other intuitive attribute types, such as for instance <code class="computeroutput"><span class="identifier">int_</span></code> which has <code class="computeroutput"><span class="keyword">int</span></code>, or <code class="computeroutput"><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span></code> which has <code class="computeroutput"><span class="keyword">char</span></code>. For primitive parsers apply the normal C++ convertibility rules: you can use any C++ type to receive the parsed value as long as the attribute type of the parser is convertible to the type provided. The following example shows how a synthesized parser attribute (the <code class="computeroutput"><span class="keyword">int</span></code> value) is extracted by calling the API function <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">parse</span></code>: </p> <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">value</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str</span><span class="special">(</span><span class="string">"123"</span><span class="special">);</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">::</span><span class="identifier">iterator</span> <span class="identifier">strbegin</span> <span class="special">=</span> <span class="identifier">str</span><span class="special">.</span><span class="identifier">begin</span><span class="special">();</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">parse</span><span class="special">(</span><span class="identifier">strbegin</span><span class="special">,</span> <span class="identifier">str</span><span class="special">.</span><span class="identifier">end</span><span class="special">(),</span> <span class="identifier">int_</span><span class="special">,</span> <span class="identifier">value</span><span class="special">);</span> <span class="comment">// value == 123</span> </pre> <p> The attribute type of a generator defines what data types this generator is able to consume in order to produce its output. <span class="emphasis"><em>Spirit.Karma</em></span> generators always <span class="emphasis"><em>expect</em></span> an attribute specific to their type. This is called <span class="emphasis"><em>consumed attribute</em></span> and is expected to be passed to the generator. The consumed attribute is most of the time the value the generator is designed to emit output for. For primitive generators the normal C++ convertibility rules apply. Any data type convertible to the attribute type of a primitive generator can be used to provide the data to generate. We present a similar example as above, this time the consumed attribute of the <code class="computeroutput"><span class="identifier">int_</span></code> generator (the <code class="computeroutput"><span class="keyword">int</span></code> value) is passed to the API function <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">generate</span></code>: </p> <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">value</span> <span class="special">=</span> <span class="number">123</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">back_insert_iterator</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;</span> <span class="identifier">out</span><span class="special">(</span><span class="identifier">str</span><span class="special">);</span> <span class="identifier">karma</span><span class="special">::</span><span class="identifier">generate</span><span class="special">(</span><span class="identifier">out</span><span class="special">,</span> <span class="identifier">int_</span><span class="special">,</span> <span class="identifier">value</span><span class="special">);</span> <span class="comment">// str == "123"</span> </pre> <p> Other primitive generator components have other intuitive attribute types, very similar to the corresponding parser components. For instance, the <code class="computeroutput"><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span></code> generator has <code class="computeroutput"><span class="keyword">char</span></code> as consumed attribute. For a full list of available parser and generator primitives and their attribute types please see the sections <a class="link" href="../../qi/quick_reference/qi_parsers.html" title="Qi Parsers">Qi Parsers</a> and <a class="link" href="../../karma/quick_reference/primitive_generators.html" title="Karma Generators">Karma Generators</a>. </p> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Joel de Guzman, Hartmut Kaiser<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="../attributes.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../attributes.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="compound_attributes.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
NixaSoftware/CVis
venv/bin/libs/spirit/doc/html/spirit/abstracts/attributes/primitive_attributes.html
HTML
apache-2.0
9,588
<html> <head> <title>&lt;video&gt; element with poster size test</title> <script src=video-test.js></script> <script> var posterInfo = { current:0, posters: [ { description:", with 'width' and 'height' attributes", url:null, reflectedUrl:"", width:320, height:240 }, { description:", size should equal image size", url:"content/greenbox.png", width:25, height:25 }, { description:", with NO 'width' or 'height' attributes so size should be &lt;video&gt; default", url:"", reflectedUrl:"video-poster.html", width:300, height:150 }, { description:", size should equal image size", url:"content/abe.png", width:76, height:103 }, { description:", invalid url so size should revert to &lt;video&gt; default", url:"content/bogus.png", width:300, height:150 }, { description:", with only a 'width' attribute so size should have the same aspect ratio as &lt;video&gt; default", url:"", reflectedUrl:"video-poster.html", width:600, height:300, widthAttr: 600 }, { description:", with only a 'width' attribute so size should equal a scaled up image size with the same aspect ratio as the original image", url:"content/abe.png", width:152, height:206, widthAttr: 152 }, { description:", invalid url w/ width attribute so size should have the same aspect ratio as &lt;video&gt; default", url:"content/bogus.png", width:600, height:300, widthAttr: 600 }, ] }; // Wait for |video| to have the |expectedWidth| and |expectedHeight| // and invoke |callback()|. function listenForWidthAndHeight(expectedWidth, expectedHeight, callback) { if (video.clientWidth == expectedWidth && video.clientHeight == expectedHeight) { callback(); } else { // This uses a 20ms sleep loop to accomplish the wait, since the // standard specifies no events that fire on poster load or error. window.setTimeout(listenForWidthAndHeight, 20, expectedWidth, expectedHeight, callback); } } function testPoster() { var temp = document.body.offsetWidth; var poster = posterInfo.posters[posterInfo.current]; var size = poster.url ? (" " + poster.width + "x" + poster.height) : ""; var urlStr = typeof(poster.url) == "string" ? ("'" + poster.url + "'") : 'null'; var desc = "<b>Testing" + size + " poster <em>"+ urlStr + "</em>" + poster.description + ".</b>"; consoleWrite(desc); testExpected("video.getAttribute('poster')", poster.url); testExpected("relativeURL(video.poster)", poster.hasOwnProperty("reflectedUrl") ? poster.reflectedUrl : poster.url); testExpected("video.clientWidth", poster.width); testExpected("video.clientHeight", poster.height); // Remove width/height attributes if present if (video.width) video.removeAttribute('width'); if (video.height) video.removeAttribute('height'); posterInfo.current++; consoleWrite(""); if (posterInfo.current >= posterInfo.posters.length) { endTest(); return; } var currentPoster = posterInfo.posters[posterInfo.current]; if (currentPoster.widthAttr) video.width = currentPoster.widthAttr; var url = currentPoster.url; var desc = "<b>Setting poster to <em>\""+ url + "\"</em></b>"; consoleWrite(desc); video.poster = url; listenForWidthAndHeight(currentPoster.width, currentPoster.height, testPoster); } function unexpectedEvent(evt) { consoleWrite(""); failTest("Unexpected '" + evt.type + "' event fired!"); } function setup() { document.addEventListener("error", unexpectedEvent); document.addEventListener("load", unexpectedEvent); findMediaElement(); testPoster(); } </script> </head> <body> <video controls width=320 height=240></video> <p>Test &lt;video&gt; element with and without a poster.</p> <script>setup();</script> </body> </html>
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/media/video-poster.html
HTML
bsd-3-clause
5,811
<!DOCTYPE html> <html> <title>WebVTT rendering, ::cue, color: #60ff60</title> <script src="../../../../../../../../../resources/ahem.js"></script> <style> html { overflow:hidden } body { margin:0 } ::cue { font-family: Ahem, sans-serif; color: #60ff60; } </style> <script src="../../support/refTestWait.js"></script> <video width="1280" height="720" autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();"> <source src="../../media/white.webm" type="video/webm"> <source src="../../media/white.mp4" type="video/mp4"> <track src="../../support/test.vtt"> </video> <script> document.getElementsByTagName('track')[0].track.mode = 'showing'; </script> </html>
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/media/track/opera/track/webvtt/rendering/reftest/selectors/cue/color_hex.html
HTML
bsd-3-clause
696
<!DOCTYPE html> <html class="reftest-wait"> <title>Reference for WebVTT rendering, the subtitles is not covered by or covering the controls</title> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> .video { display: inline-block; position: absolute; width: 320px; height: 400px; outline: solid; font-size: 20px; } .cue { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; padding-bottom: 40px; } .cue > span { font-family: Ahem, sans-serif; background: rgba(0,0,0,0.8); color: green; } </style> <script src="/common/reftest-wait.js"></script> <div class="video"><span class="cue"><span>This is a test subtitle</span></span></div> <video width="320" height="400" autoplay controls onplaying="this.onplaying = null; this.pause(); takeScreenshot();"> <source src="/media/white.webm" type="video/webm"> <source src="/media/white.mp4" type="video/mp4"> <track> </video>
scheib/chromium
third_party/blink/web_tests/external/wpt/webvtt/rendering/cues-with-video/processing-model/media_height400_with_controls-ref.html
HTML
bsd-3-clause
979
<ion-view title="Unified Push Notifications"> <ion-content class="has-header"> <div class="list"> <label class="item item-input"> <span class="input-label">Url</span> <input type="text" ng-model="config.pushServerURL" placeholder="http(s)//host:port/context"> </label> <label class="item item-input"> <span class="input-label">VariantID</span> <input type="text" ng-model="config.varaintID" placeholder="1234456-234320"> </label> <label class="item item-input"> <span class="input-label">VariantSecret</span> <input type="text" ng-model="config.varaintSecret" placeholder="1234456-234320"> </label> <label class="item item-input"> <span class="input-label">senderID</span> <input type="text" ng-model="config.senderID" placeholder="Project ID only for android"> </label> </div> <button class="button button-block button-positive" ng-click="register()"> Register </button> </ion-content> </ion-view>
secretmoo35/CyberApp_Payroll
www/lib/ngCordova/demo/www/app/upsPushNotifications/pushNotifications.html
HTML
mit
1,037
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Part III. Boost Test Library: The minimal testing facility</title> <link rel="stylesheet" href="../style/style.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.74.0"> <link rel="home" href="index.html" title="Boost Test Library"> <link rel="up" href="index.html" title="Boost Test Library"> <link rel="prev" href="prg-exec-monitor/compilation.html" title="The Program Execution Monitor compilation"> <link rel="next" href="utf.html" title="Part IV. Boost Test Library: The Unit Test Framework"> <script language="JavaScript1.2" src="../js/boost-test.js"></script> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table width="100%"><tr> <td width="10%"><a href="index.html"><img alt="Home" width="229" height="61" border="0" src="../../../../libs/test/docbook/img/boost.test.logo.png"></a></td> <td valign="middle" align="left"> &gt; <b>Minimal testing facility</b> </td> <td><div class="spirit-nav"> <a href="prg-exec-monitor/compilation.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a href="utf.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a> </div></td> </tr></table> <hr> <div class="part" lang="en"> <div class="titlepage"><div><div><h1 class="title"> <a name="minimal"></a>Part III. Boost Test Library: The minimal testing facility</h1></div></div></div> <div class="section" lang="en"> <div class="titlepage"><div><div><h3 class="title"> <a name="minimal.intro"></a>Introduction</h3></div></div></div> <p class="first-line-indented"> <em class="firstterm">Boost.Test minimal testing facility</em> provides the functionality previously implemented by the original version of Boost.Test. As the name suggest, it provides only minimal basic facilities for test creation. It have no configuration parameters (either command line arguments or environment variables) and it supplies a limited set of <a class="link" href="minimal.html#minimal.tools" title="Provided testing tools">testing tools</a> which behaves similarly to ones defined amount the Unit Test Framework <a class="link" href="utf/testing-tools.html" title="The UTF testing tools or tester's toolbox for all occasions">Testing tools</a>. The minimal testing facility supplies its own function main() (so can not be used for multi unit testing) and will execute the test program in a monitored environment. </p> <p class="first-line-indented"> As it follows from the name this component provides only minimal set of the testing capabilities and as a general rule the Unit Test Framework should be preferred. In a majority of the cases it provides you with much wider set of testing tools (and other goods), while still being as easy to set up. </p> </div> <div class="section" lang="en"> <div class="titlepage"><div><div><h3 class="title"> <a name="minimal.usage"></a>Usage</h3></div></div></div> <p class="first-line-indented"> The only change (other then including <a href="../../../../boost/test/minimal.hpp" target="_top"> <code class="filename">boost/test/minimal.hpp</code></a>) you need to make, to integrate your test module with minimal testing facility is the signature of your function main(). It should look like this: </p> <pre class="programlisting">int test_main( int argc, char* argv[] ) { ... }</pre> <p class="first-line-indented"> Once you apply the change test automatically starts running in monitored environment. Also you can start using <a class="link" href="minimal.html#minimal.tools" title="Provided testing tools">testing tools</a> provided by the minimal testing facility and get uniform errors reporting. </p> </div> <div class="section" lang="en"> <div class="titlepage"><div><div><h3 class="title"> <a name="minimal.example"></a>Example</h3></div></div></div> <p class="first-line-indented"> Following example illustrates different approaches you can employ to detect and report errors using different testing tools </p> <div class="example"> <a name="minimal.example.example27"></a><p class="title"><b>Example 4. Minimal testing facility application</b></p> <div class="example-contents"> <div class="programlistingco"> <pre class="programlisting">#include &lt;boost/test/minimal.hpp&gt; //____________________________________________________________________________// int add( int i, int j ) { return i+j; } //____________________________________________________________________________// int test_main( int, char *[] ) // note the name! { // six ways to detect and report the same error: BOOST_CHECK( add( 2,2 ) == 4 ); // #1 continues on error BOOST_REQUIRE( add( 2,2 ) == 4 ); // #2 throws on error if( add( 2,2 ) != 4 ) BOOST_ERROR( "Ouch..." ); // #3 continues on error if( add( 2,2 ) != 4 ) BOOST_FAIL( "Ouch..." ); // #4 throws on error if( add( 2,2 ) != 4 ) throw "Oops..."; // #5 throws on error return add( 2, 2 ) == 4 ? 0 : 1; // #6 returns error code } //____________________________________________________________________________// </pre> <table class="simplelist" border="0" summary="Simple list"><tr> <td><code class="literal"><a href="../src/examples/example27.cpp" target="_top">Source code</a></code></td> <td> | </td> <td><code class="literal"><a href="#" target="_top" id="id643534" onclick="toggle_element( 'example27-annot', 'id643534', 'Show annotations', 'Hide annotations' ); return false;">Show annotations</a></code></td> <td> | </td> <td><code class="literal"><a href="#" target="_top" id="id643550" onclick="toggle_element( 'example27-output', 'id643550', 'Show output', 'Hide output' ); return false;">Show output</a></code></td> </tr></table> <div class="example-annot" id="example27-annot"><table border="0" summary="Callout list"> <tr> <td width="5%" valign="top" align="left"><p><a name="snippet18.ann-1"></a>(1)</p></td> <td valign="top" align="left"><p class="first-line-indented"> This approach uses the BOOST_CHECK tool, which displays an error message on std::cout that includes the expression that failed, the source file name, and the source file line number. It also increments the error count. At program termination, the error count will be displayed automatically by the minimal testing facility. </p></td> </tr> <tr> <td width="5%" valign="top" align="left"><p><a name="snippet18.ann-2"></a>(2)</p></td> <td valign="top" align="left"><p class="first-line-indented"> This approach using the BOOST_REQUIRE tool, is similar to #1, except that after displaying the error, an exception is thrown, to be caught by the minimal testing facility. This approach is suitable when writing an explicit test program, and the error would be so severe as to make further testing impractical. BOOST_REQUIRE differs from the C++ Standard Library's assert() macro in that it is always generated, and channels error detection into the uniform reporting procedure. </p></td> </tr> <tr> <td width="5%" valign="top" align="left"><p><a name="snippet18.ann-3"></a>(3)</p></td> <td valign="top" align="left"><p class="first-line-indented"> This approach is similar to #1, except that the error detection is coded separately. This is most useful when the specific condition being tested is not indicative of the reason for failure. </p></td> </tr> <tr> <td width="5%" valign="top" align="left"><p><a name="snippet18.ann-4"></a>(4)</p></td> <td valign="top" align="left"><p class="first-line-indented"> This approach is similar to #2, except that the error detection is coded separately. This is most useful when the specific condition being tested is not indicative of the reason for failure. </p></td> </tr> <tr> <td width="5%" valign="top" align="left"><p><a name="snippet18.ann-5"></a>(5)</p></td> <td valign="top" align="left"><p class="first-line-indented"> This approach throws an exception, which will be caught and reported by the minimal testing facility. This approach is suitable for both production and test code, in libraries or not. The error message displayed when the exception is caught will be most meaningful if the exception is derived from <code class="computeroutput">std::exception </code>, or is a char* or <code class="computeroutput">std::string</code>. </p></td> </tr> <tr> <td width="5%" valign="top" align="left"><p><a name="snippet18.ann-6"></a>(6)</p></td> <td valign="top" align="left"><p class="first-line-indented"> This approach uses the BOOST_CHECK_MESSAGE tool, is similar to approach #1, except that similar to the approach #3 displays an alternative error message specified as a second argument. </p></td> </tr> </table></div> </div> <pre class="example-output" id="example27-output"> **** no errors detected </pre> </div> </div> <br class="example-break"> </div> <div class="section" lang="en"> <div class="titlepage"><div><div><h3 class="title"> <a name="minimal.tools"></a>Provided testing tools</h3></div></div></div> <p class="first-line-indented"> The minimal testing facility supplies following four tools: </p> <pre class="inline-synopsis"> BOOST_CHECK(<span class="emphasis"><em>predicate</em></span>) BOOST_REQUIRE(<span class="emphasis"><em>predicate</em></span>) BOOST_ERROR(<span class="emphasis"><em>message</em></span>) BOOST_FAIL(<span class="emphasis"><em>message</em></span>)</pre> <p class="first-line-indented"> Their behavior is modeled after the <a class="link" href="utf/testing-tools/reference.html" title="The UTF testing tools reference">similarly named tools</a> implemented by the Unit Test Framework. </p> </div> <div class="section" lang="en"> <div class="titlepage"><div><div><h3 class="title"> <a name="minimal.impl"></a>Implementation</h3></div></div></div> <p class="first-line-indented"> The minimal testing facility is implemented inline in one header <a href="../../../../boost/test/minimal.hpp" target="_top"> <code class="filename">boost/test/minimal.hpp</code></a>. There are no special compilation instructions for this component. </p> <p class="first-line-indented"> There is a single unit test program that validates minimal testing facility functionality: minimal_test </p> </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"><p><small>Last revised: , at </small></p></td> <td align="right"><div class="copyright-footer">Copyright © 2001-2007 Gennadiy Rozental</div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="prg-exec-monitor/compilation.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="utf.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a> </div> </body> </html>
NixaSoftware/CVis
venv/bin/libs/test/doc/html/minimal.html
HTML
apache-2.0
11,185
<load target="./js/module_admin.js" /> <h1 class="h1">{$lang->filebox}</h1> <form action="{getUrl('')}" method="post" enctype="multipart/form-data"> <input type="hidden" name="module" value="module" /> <input type="hidden" name="act" value="procModuleFileBoxAdd" /> <input type="hidden" name="vid" value="{$vid}" /> <input type="hidden" name="filter" value="{$filter}" /> <input type="hidden" name="input" value="{$input}" /> <table class="x_table x_table-striped x_table-hover"> <tbody> <tr> <th>{$lang->description}</th> <td><input type="text" name="comment" /></td> </tr> <tr> <th>{$lang->file}</th> <td><input type="file" name="addfile" /> <p> <!--@if($arrfilter && is_array($arrfilter))--> {@sprintf($lang->about_file_extension,join(", ",$arrfilter ))} <!--@end--> </p> </td> </tr> </tbody> </table> <div class="btnArea"> <input class="btn" type="submit" value="{$lang->cmd_submit}" /> </div> </form>
talkwithraon/XE4KAIST
xe4kaist/modules/module/tpl/filebox_add.html
HTML
apache-2.0
986
<!DOCTYPE html> <html> <head> <script> if (window.testRunner) { testRunner.dumpAsText(); testRunner.setXSSAuditorEnabled(true); } </script> </head> <body> <iframe src='http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=<script src="http://127.0.0.1:8000/security/xssAuditor/resources/xss.js%23&q2="></script>&clutter=blah'></iframe> </body> </html>
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/script-tag-with-source-unterminated-02.html
HTML
bsd-3-clause
421
<!DOCTYPE html> <html> <head> <title>Inline svg</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="../../../test.js"></script> </head> <body> <div> Inline svg image: <br /> <img width="200" height="200" src='data:image/svg+xml,<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" width="306" height="296"><defs id="defs4" /><g transform="translate(-162.46995,-477.2863)" id="layer1"><path d="m 314.15745,481.69558 c -59.20089,0.53774 -114.80979,36.72219 -137.3125,95.34375 -29.39129,76.56693 8.83932,162.45246 85.40625,191.84375 l 34.03125,-88.6875 c -20.0678,-7.71358 -34.3125,-27.15324 -34.3125,-49.9375 0,-29.54723 23.95277,-53.5 53.5,-53.5 29.54723,0 53.5,23.95277 53.5,53.5 0,22.78426 -14.2447,42.22392 -34.3125,49.9375 l 34.03125,88.6875 c 39.29085,-15.08234 70.3239,-46.1154 85.40625,-85.40625 29.39129,-76.56693 -8.83932,-162.48371 -85.40625,-191.875 -17.94537,-6.88859 -36.40853,-10.07087 -54.53125,-9.90625 z" id="path2830" style="fill:#40aa54;fill-opacity:1;stroke:#20552a;stroke-width:7.99999952;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></g></svg>' /> </div> </body> </html>
robnightingale/ore-dashboard-beta
vendors/html2canvas/tests/cases/images/svg/inline.html
HTML
mit
1,229
{{+bindTo:partials.standard_nacl_api}} <h1>Member List</h1> <div id="doxygen-ref"> {{- dummy div to appease doxygen -}} <div> <!-- Generated by Doxygen 1.7.6.1 --> </div> <!--header--> <div class="contents"> This is the complete list of members for <a class="el" href="classpp_1_1_var_1_1_out_exception.html">pp::Var::OutException</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classpp_1_1_var_1_1_out_exception.html#ae27bafd88243e3b2fffc3038a1f31971">get</a>()</td><td><a class="el" href="classpp_1_1_var_1_1_out_exception.html">pp::Var::OutException</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classpp_1_1_var_1_1_out_exception.html#afa4be8888c046a7b4f54be2cec82e4e7">OutException</a>(Var *v)</td><td><a class="el" href="classpp_1_1_var_1_1_out_exception.html">pp::Var::OutException</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classpp_1_1_var_1_1_out_exception.html#af2300053414367146b49f6f71c2eb513">~OutException</a>()</td><td><a class="el" href="classpp_1_1_var_1_1_out_exception.html">pp::Var::OutException</a></td><td><code> [inline]</code></td></tr> </table></div><!-- contents --> </div> {{/partials.standard_nacl_api}}
7kbird/chrome
native_client_sdk/doc_generated/pepper_stable/cpp/classpp_1_1_var_1_1_out_exception-members.html
HTML
bsd-3-clause
1,266
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example59-jquery</title> <script src="../../components/jquery-2.1.1/jquery.js"></script> <script src="../../../angular.js"></script> <script src="../../../angular-animate.js"></script> <script type="text/javascript"> angular.element(document.getElementsByTagName('head')).append(angular.element('<base href="' + window.location.pathname + '" />')); </script> </head> <body ng-app="formExample"> <script> angular.module('formExample', []) .controller('FormController', ['$scope', function($scope) { $scope.userType = 'guest'; }]); </script> <style> .my-form { transition:all linear 0.5s; background: transparent; } .my-form.ng-invalid { background: red; } </style> <form name="myForm" ng-controller="FormController" class="my-form"> userType: <input name="input" ng-model="userType" required> <span class="error" ng-show="myForm.input.$error.required">Required!</span><br> <code>userType = {{userType}}</code><br> <code>myForm.input.$valid = {{myForm.input.$valid}}</code><br> <code>myForm.input.$error = {{myForm.input.$error}}</code><br> <code>myForm.$valid = {{myForm.$valid}}</code><br> <code>myForm.$error.required = {{!!myForm.$error.required}}</code><br> </form> </body> </html>
bdipaola/DiplomacyScoring
vendor/assets/javascripts/docs/examples/example-example59/index-jquery.html
HTML
mit
1,344
<bx_include_base:../modules/base/text/template/entry-share.html />
camperjz/trident
modules/boonex/videos/template/entry-share.html
HTML
mit
66
<!DOCTYPE HTML> <html> <head> <style> div { margin: 20px; width: 60px; height: 60px; float: left; } </style> <!-- Test blending of two elements with every blend mode. --> <body> <div style="background: green"> <div style="mix-blend-mode: normal; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: multiply; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: screen; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: overlay; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: darken; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: lighten; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: color-dodge; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: color-burn; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: hard-light; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: soft-light; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: difference; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: exclusion; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: hue; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: saturation; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: color; background-color: blue;"></div> </div> <div style="background: green"> <div style="mix-blend-mode: luminosity; background-color: blue;"></div> </div> </body> </html>
chromium/chromium
third_party/blink/web_tests/css3/blending/mix-blend-mode-simple.html
HTML
bsd-3-clause
2,234
<!DOCTYPE html> <title>flexbox | flex: larger integer, mixed basis, auto</title> <link rel="author" href="http://opera.com" title="Opera Software"> <style> div { font-family: ahem; background: blue; height: 8em; width: 35em; } span { font-family: ahem; height: 8em; display: inline-block; } span:nth-child(1) { background: yellow; width: 3em; } span:nth-child(2) { background: pink; width: 6em; } span:nth-child(3) { background: lightblue; width: 8em; } span:nth-child(4) { background: grey; width: 18em; } </style> <div> <span>a</span><span>aaa</span><span>aaaaa</span><span>aaaaaaaaaaaaaaa</span> </div>
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/flexbox_flex-natural-mixed-basis-auto-expected.html
HTML
bsd-3-clause
623
<div class="tg_slider_wrap"> <div class="tg_slider_thumb"></div> <div class="tg_slider_track"> <div class="tg_slider_track_fill"></div> </div> </div>
ali-khabbaz/telegramManager
public/partials/desktop/slider.html
HTML
mit
154
<header bs-header role="banner"> <div bs-header-row="brand"> <span class="icon icon-word"> <svg> <use xlink:href="#svg-logo-word"></use> </svg> </span> <a href="https://www.npmjs.com/package/browser-sync" bs-link="version" target="_blank">v{{app.options.version}}</a> <span bs-toggle="nav" ng-click="app.toggleMenu('shane')" ng-class="{'active': app.ui.sectionMenu}"> <svg> <use xlink:href="#svg-list"></use> </svg> <svg bs-state="alt"> <use xlink:href="#svg-circle-delete"></use> </svg> </span> </div> <aside bs-controls="top"> <div bs-flex="top"> <a href="#" bs-control title="Reload all Browsers" ng-click="app.reloadAll()"> <svg bs-svg-icon><use xlink:href="#svg-repeat"></use></svg> Reload all </a> <a href="{{app.options.port | localRootUrl:app.options.scheme}}" target="_blank" bs-control title="Open a new tab" ng-if="app.options" ng-show="app.options.mode !== 'snippet'" class="ng-scope"> <svg bs-svg-icon><use xlink:href="#svg-newtab"></use></svg> New Tab </a> <a href="#" bs-control title="Reset the scroll position of all browsers to 0" ng-click="app.scrollAllTo(0)"> <svg bs-svg-icon><use xlink:href="#svg-square-up"></use></svg> Scroll Top </a> <a href="#" bs-control title="Reset all Browsers to Homepage" ng-click="app.sendAllTo('/')" ng-show="app.options.mode !== 'snippet'"> <svg bs-svg-icon><use xlink:href="#svg-home"></use></svg> Reset All </a> </div> </aside> </header>
yuyang545262477/Resume
项目二电商首页/node_modules/browser-sync-ui/static/components/header.html
HTML
mit
1,808
<!doctype html> <html> <head> <title>A disabled video track is rendered as blackness</title> <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#introduction"> <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastreams-as-media-elements"> <link rel='stylesheet' href='/resources/testharness.css' media='all'/> </head> <body> <p class="instructions">When prompted, accept to share your video stream.</p> <h1 class="instructions">Description</h1> <p class="instructions">This test checks that a disabled video track in a MediaStream is rendered as blackness.</p> <video id="vid"></video> <div id='log'></div> <script src=/resources/testharness.js></script> <script src=/resources/testharnessreport.js></script> <script src="/common/vendor-prefix.js" data-prefixed-objects='[{"ancestors":["navigator"], "name":"getUserMedia"}]' data-prefixed-prototypes='[{"ancestors":["HTMLMediaElement"],"name":"srcObject"}]'></script> <script> var vid = document.getElementById("vid"); var cv = document.createElement("canvas"); var t = async_test("Tests that a disabled video track in a MediaStream is rendered as blackness", {timeout: 10000}); t.step(function() { navigator.getUserMedia( {video: true}, t.step_func(function (stream) { var testOncePlaying = function() { if (stream.getVideoTracks()[0].enabled) { stream.getVideoTracks()[0].enabled = false; return; } vid.removeEventListener("timeupdate", testOncePlaying, false); cv.width = vid.offsetWidth; cv.height = vid.offsetHeight; var ctx = cv.getContext("2d"); ctx.drawImage(vid,0,0); var imageData = ctx.getImageData(0, 0, cv.width, cv.height); for (var i = 0; i < imageData.data.length; i+=4) { assert_equals(imageData.data[i], 0, "No red component in pixel #" + i); assert_equals(imageData.data[i + 1], 0, "No green component in pixel #" + i); assert_equals(imageData.data[i + 2], 0, "No blue component in pixel #" + i); assert_equals(imageData.data[i + 3], 255, "No transparency in pixel #" + i); } t.done(); } vid.srcObject = stream; vid.play(); vid.addEventListener("timeupdate", t.step_func(testOncePlaying), false); }), function(error) {}); }); </script> </body> </html>
youtube/cobalt
third_party/web_platform_tests/mediacapture-streams/stream-api/introduction/disabled-video-black.html
HTML
bsd-3-clause
2,509
<!DOCTYPE html> <title>CSS Basic User Interface Test: Cursor property, url value</title> <link rel="author" title="Chris Lilley" href="mailto:chris@w3.org"> <link rel="reviewer" title="Florian Rivoal" href="http://florian.rivoal.net/"> <!-- 2015-04-12 --> <link rel="help" href="http://www.w3.org/TR/css3-ui/#cursor"> <meta name="flags" content="interact svg"> <meta charset="UTF-8"> <meta name="assert" content="Test checks that a fixed size SVG image is supported as a custom cursor."> <style> div.test{background: #D2B48C; border: 2px solid #555; cursor:url(support/cursors/woolly-64.svg) 41 32, help; width: 128px; height: 128px} </style> <body> <p>The test passes if, when moved inside the colored rectangle, the cursor looks like a sheep AND is not a sheep when outside.</p> <p>If inside the rectangle the cursor does not change, or looks like a help cursor, the test fails.</p> <div class="test"> </div> </body>
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/css/css-ui/cursor-image-005.html
HTML
bsd-3-clause
931
<html> <title>WebPage 1</title> </html>
plxaye/chromium
src/chrome/test/data/extensions/api_test/executescript/file_after_close/web_page1.html
HTML
apache-2.0
42
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- Copyright 2011 Software Freedom Conservancy Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>Test Focus On Blur</title> </head> <body> <table cellpadding="1" cellspacing="1" border="1"> <tbody> <tr> <td rowspan="1" colspan="3">Test Focus On Blur<br> </td> </tr> <tr> <td>open</td> <td>../tests/html/test_focus_on_blur.html</td> <td>&nbsp;</td> </tr> <tr> <td>type</td> <td>testInput</td> <td>test</td> </tr> <tr> <td>fireEvent</td> <td>testInput</td> <td>blur</td> </tr> <tr> <td>verifyAlert</td> <td>Bad value</td> <td></td> </tr> <tr> <td>type</td> <td>testInput</td> <td>somethingelse</td> </tr> </tbody> </table> </body> </html>
jerome-jacob/selenium
java/server/test/org/openqa/selenium/tests/TestFocusOnBlur.html
HTML
apache-2.0
1,444
<!DOCTYPE html> <html> <head> <title></title> <script type="text/javascript" src="lib.js"></script> <script type="text/javascript" src="popup.js"></script> </head> <body> <p style="color:lime;">PASS</p> </body> </html>
1974kpkpkp/operaextensions.js
tests/shareCookies/024/oex/popup.html
HTML
mit
243
<!DOCTYPE html><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"><meta http-equiv="Content-Language" content="en"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>LogRecord</title><link href="dossier.css" rel="stylesheet" type="text/css"><header><div><form><div><input type="search" placeholder="Search" tabindex="1"></div></form></div></header><main><article><div class="parentlink"><b>Namespace:</b> <a href="namespace_webdriver_logging.html">webdriver.logging</a></div><div class="codelink"><a href="source/lib/webdriver/logging.js.src.html#l78">View Source</a></div><h1>class LogRecord</h1><p>LogRecord objects are used to pass logging requests between the logging framework and individual log Handlers.</p> <h3>new LogRecord(<wbr>level, msg, loggerName, opt_time, opt_sequenceNumber)</h3><div><div class="fn-details"><div><b>Parameters</b></div><dl><dt>level<code><a href="class_webdriver_logging_Level.html">webdriver.logging.Level</a></code><dd><p>One of the level identifiers.</p> <dt>msg<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code><dd><p>The string message.</p> <dt>loggerName<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code><dd><p>The name of the source logger.</p> <dt>opt_time<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>=</code><dd><p>Time this log record was created if other than now. If 0, we use #goog.now.</p> <dt>opt_sequenceNumber<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>=</code><dd><p>Sequence number of this log record. This should only be passed in when restoring a log record from persistence.</p> </dl></div></div><h2>Instance Methods</h2><div id="getException" class="function"><div><h3>getException()<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l148">code »</a></span></h3><p>Get the exception that is part of the log record.</p> <div><div class="fn-details"><div><b>Returns</b></div><dl><dt><code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a></code><dd><p>the exception.</p> </dl></div></div></div></div><hr class="fn-sep"><div id="getLevel" class="function"><div><h3>getLevel()<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l177">code »</a></span></h3><p>Get the logging message level, for example Level.SEVERE.</p> <div><div class="fn-details"><div><b>Returns</b></div><dl><dt><code><a href="class_webdriver_logging_Level.html">webdriver.logging.Level</a></code><dd><p>the logging message level.</p> </dl></div></div></div></div><hr class="fn-sep"><div id="getLoggerName" class="function"><div><h3>getLoggerName()<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l138">code »</a></span></h3><p>Get the source Logger&#39;s name.</p> <div><div class="fn-details"><div><b>Returns</b></div><dl><dt><code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code><dd><p>source logger name (may be null).</p> </dl></div></div></div></div><hr class="fn-sep"><div id="getMessage" class="function"><div><h3>getMessage()<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l196">code »</a></span></h3><p>Get the &#34;raw&#34; log message, before localization or formatting.</p> <div><div class="fn-details"><div><b>Returns</b></div><dl><dt><code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code><dd><p>the raw message string.</p> </dl></div></div></div></div><hr class="fn-sep"><div id="getMillis" class="function"><div><h3>getMillis()<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l216">code »</a></span></h3><p>Get event time in milliseconds since 1970.</p> <div><div class="fn-details"><div><b>Returns</b></div><dl><dt><code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></code><dd><p>event time in millis since 1970.</p> </dl></div></div></div></div><hr class="fn-sep"><div id="getSequenceNumber" class="function"><div><h3>getSequenceNumber()<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l239">code »</a></span></h3><p>Get the sequence number.</p> <p> Sequence numbers are normally assigned in the LogRecord constructor, which assigns unique sequence numbers to each new LogRecord in increasing order. </p><div><div class="fn-details"><div><b>Returns</b></div><dl><dt><code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></code><dd><p>the sequence number.</p> </dl></div></div></div></div><hr class="fn-sep"><div id="reset" class="function"><div><h3>reset(<wbr>level, msg, loggerName, opt_time, opt_sequenceNumber)<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l118">code »</a></span></h3><p>Sets all fields of the log record.</p> <div><div class="fn-details"><div><b>Parameters</b></div><dl><dt>level<code><a href="class_webdriver_logging_Level.html">webdriver.logging.Level</a></code><dd><p>One of the level identifiers.</p> <dt>msg<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code><dd><p>The string message.</p> <dt>loggerName<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code><dd><p>The name of the source logger.</p> <dt>opt_time<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>=</code><dd><p>Time this log record was created if other than now. If 0, we use #goog.now.</p> <dt>opt_sequenceNumber<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>=</code><dd><p>Sequence number of this log record. This should only be passed in when restoring a log record from persistence.</p> </dl></div></div></div></div><hr class="fn-sep"><div id="setException" class="function"><div><h3>setException(<wbr>exception)<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l158">code »</a></span></h3><p>Set the exception that is part of the log record.</p> <div><div class="fn-details"><div><b>Parameters</b></div><dl><dt>exception<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a></code><dd><p>the exception.</p> </dl></div></div></div></div><hr class="fn-sep"><div id="setLevel" class="function"><div><h3>setLevel(<wbr>level)<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l186">code »</a></span></h3><p>Set the logging message level, for example Level.SEVERE.</p> <div><div class="fn-details"><div><b>Parameters</b></div><dl><dt>level<code><a href="class_webdriver_logging_Level.html">webdriver.logging.Level</a></code><dd><p>the logging message level.</p> </dl></div></div></div></div><hr class="fn-sep"><div id="setLoggerName" class="function"><div><h3>setLoggerName(<wbr>loggerName)<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l168">code »</a></span></h3><p>Get the source Logger&#39;s name.</p> <div><div class="fn-details"><div><b>Parameters</b></div><dl><dt>loggerName<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code><dd><p>source logger name (may be null).</p> </dl></div></div></div></div><hr class="fn-sep"><div id="setMessage" class="function"><div><h3>setMessage(<wbr>msg)<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l206">code »</a></span></h3><p>Set the &#34;raw&#34; log message, before localization or formatting.</p> <div><div class="fn-details"><div><b>Parameters</b></div><dl><dt>msg<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code><dd><p>the raw message string.</p> </dl></div></div></div></div><hr class="fn-sep"><div id="setMillis" class="function"><div><h3>setMillis(<wbr>time)<span class="codelink"><a href="source/lib/goog/debug/logrecord.js.src.html#l226">code »</a></span></h3><p>Set event time in milliseconds since 1970.</p> <div><div class="fn-details"><div><b>Parameters</b></div><dl><dt>time<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></code><dd><p>event time in millis since 1970.</p> </dl></div></div></div></div><h2>Compiler Constants</h2><div id="LogRecord.ENABLE_SEQUENCE_NUMBERS" class="property"><dl><dt><a href="source/lib/goog/debug/logrecord.js.src.html#l96">LogRecord.ENABLE_SEQUENCE_NUMBERS</a><code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a></code><dd><p>Whether to enable log sequence numbers.</p> </dl></div></article><nav><h3><a href="index.html" tabindex="2">Overview</a></h3><div><input type="checkbox" id="nav-modules" checked/><label for="nav-modules"><h3><span class="selectable" tabindex="2">Modules</span></h3></label><div id="nav-modules-view"></div></div><div><input type="checkbox" id="nav-types" checked/><label for="nav-types"><h3><span class="selectable" tabindex="2">Types</span></h3></label><div id="nav-types-view"></div></div><h3><a href="Changes.html" tabindex="2">Changes</a></h3></nav></main><footer><div><a href="https://github.com/jleyba/js-dossier">Generated by dossier</a></div></footer><script src="types.js"></script><script src="dossier.js"></script>
RandyDavis/BuildingSPASWithAngularJS
todoApp/node_modules/protractor/node_modules/selenium-webdriver/docs/class_webdriver_logging_LogRecord.html
HTML
mit
9,879
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> <title>Responsive example - With FixedHeader</title> <link rel="stylesheet" type="text/css" href="../../../../media/css/jquery.dataTables.css"> <link rel="stylesheet" type="text/css" href="../../css/dataTables.responsive.css"> <link rel="stylesheet" type="text/css" href="../../../FixedHeader/css/dataTables.fixedHeader.css"> <link rel="stylesheet" type="text/css" href="../../../../examples/resources/syntax/shCore.css"> <link rel="stylesheet" type="text/css" href="../../../../examples/resources/demo.css"> <style type="text/css" class="init"> div.container { max-width: 1200px } </style> <script type="text/javascript" language="javascript" src="../../../../media/js/jquery.js"></script> <script type="text/javascript" language="javascript" src="../../../../media/js/jquery.dataTables.js"></script> <script type="text/javascript" language="javascript" src="../../js/dataTables.responsive.js"></script> <script type="text/javascript" language="javascript" src="../../../FixedHeader/js/dataTables.fixedHeader.js"></script> <script type="text/javascript" language="javascript" src="../../../../examples/resources/syntax/shCore.js"></script> <script type="text/javascript" language="javascript" src="../../../../examples/resources/demo.js"></script> <script type="text/javascript" language="javascript" class="init"> $(document).ready(function() { var table = $('#example').DataTable( { responsive: true, paging: false } ); new $.fn.dataTable.FixedHeader( table ); } ); </script> </head> <body class="dt-example"> <div class="container"> <section> <h1>Responsive example <span>With FixedHeader</span></h1> <div class="info"> <p>This example shows Responsive being used with the DataTables <a href="http://datatables.net/extensions/fixedheader">FixedHeader</a> extension. FixedHeader will lock a table's header to the top of the table, ensuring that the user always knows what each column relates to.</p> </div> <table id="example" class="display nowrap" cellspacing="0" width="100%"> <thead> <tr> <th>First name</th> <th>Last name</th> <th>Position</th> <th>Office</th> <th>Age</th> <th>Start date</th> <th>Salary</th> <th>Extn.</th> <th>E-mail</th> </tr> </thead> <tbody> <tr> <td>Tiger</td> <td>Nixon</td> <td>System Architect</td> <td>Edinburgh</td> <td>61</td> <td>2011/04/25</td> <td>$320,800</td> <td>5421</td> <td>t.nixon@datatables.net</td> </tr> <tr> <td>Garrett</td> <td>Winters</td> <td>Accountant</td> <td>Tokyo</td> <td>63</td> <td>2011/07/25</td> <td>$170,750</td> <td>8422</td> <td>g.winters@datatables.net</td> </tr> <tr> <td>Ashton</td> <td>Cox</td> <td>Junior Technical Author</td> <td>San Francisco</td> <td>66</td> <td>2009/01/12</td> <td>$86,000</td> <td>1562</td> <td>a.cox@datatables.net</td> </tr> <tr> <td>Cedric</td> <td>Kelly</td> <td>Senior Javascript Developer</td> <td>Edinburgh</td> <td>22</td> <td>2012/03/29</td> <td>$433,060</td> <td>6224</td> <td>c.kelly@datatables.net</td> </tr> <tr> <td>Airi</td> <td>Satou</td> <td>Accountant</td> <td>Tokyo</td> <td>33</td> <td>2008/11/28</td> <td>$162,700</td> <td>5407</td> <td>a.satou@datatables.net</td> </tr> <tr> <td>Brielle</td> <td>Williamson</td> <td>Integration Specialist</td> <td>New York</td> <td>61</td> <td>2012/12/02</td> <td>$372,000</td> <td>4804</td> <td>b.williamson@datatables.net</td> </tr> <tr> <td>Herrod</td> <td>Chandler</td> <td>Sales Assistant</td> <td>San Francisco</td> <td>59</td> <td>2012/08/06</td> <td>$137,500</td> <td>9608</td> <td>h.chandler@datatables.net</td> </tr> <tr> <td>Rhona</td> <td>Davidson</td> <td>Integration Specialist</td> <td>Tokyo</td> <td>55</td> <td>2010/10/14</td> <td>$327,900</td> <td>6200</td> <td>r.davidson@datatables.net</td> </tr> <tr> <td>Colleen</td> <td>Hurst</td> <td>Javascript Developer</td> <td>San Francisco</td> <td>39</td> <td>2009/09/15</td> <td>$205,500</td> <td>2360</td> <td>c.hurst@datatables.net</td> </tr> <tr> <td>Sonya</td> <td>Frost</td> <td>Software Engineer</td> <td>Edinburgh</td> <td>23</td> <td>2008/12/13</td> <td>$103,600</td> <td>1667</td> <td>s.frost@datatables.net</td> </tr> <tr> <td>Jena</td> <td>Gaines</td> <td>Office Manager</td> <td>London</td> <td>30</td> <td>2008/12/19</td> <td>$90,560</td> <td>3814</td> <td>j.gaines@datatables.net</td> </tr> <tr> <td>Quinn</td> <td>Flynn</td> <td>Support Lead</td> <td>Edinburgh</td> <td>22</td> <td>2013/03/03</td> <td>$342,000</td> <td>9497</td> <td>q.flynn@datatables.net</td> </tr> <tr> <td>Charde</td> <td>Marshall</td> <td>Regional Director</td> <td>San Francisco</td> <td>36</td> <td>2008/10/16</td> <td>$470,600</td> <td>6741</td> <td>c.marshall@datatables.net</td> </tr> <tr> <td>Haley</td> <td>Kennedy</td> <td>Senior Marketing Designer</td> <td>London</td> <td>43</td> <td>2012/12/18</td> <td>$313,500</td> <td>3597</td> <td>h.kennedy@datatables.net</td> </tr> <tr> <td>Tatyana</td> <td>Fitzpatrick</td> <td>Regional Director</td> <td>London</td> <td>19</td> <td>2010/03/17</td> <td>$385,750</td> <td>1965</td> <td>t.fitzpatrick@datatables.net</td> </tr> <tr> <td>Michael</td> <td>Silva</td> <td>Marketing Designer</td> <td>London</td> <td>66</td> <td>2012/11/27</td> <td>$198,500</td> <td>1581</td> <td>m.silva@datatables.net</td> </tr> <tr> <td>Paul</td> <td>Byrd</td> <td>Chief Financial Officer (CFO)</td> <td>New York</td> <td>64</td> <td>2010/06/09</td> <td>$725,000</td> <td>3059</td> <td>p.byrd@datatables.net</td> </tr> <tr> <td>Gloria</td> <td>Little</td> <td>Systems Administrator</td> <td>New York</td> <td>59</td> <td>2009/04/10</td> <td>$237,500</td> <td>1721</td> <td>g.little@datatables.net</td> </tr> <tr> <td>Bradley</td> <td>Greer</td> <td>Software Engineer</td> <td>London</td> <td>41</td> <td>2012/10/13</td> <td>$132,000</td> <td>2558</td> <td>b.greer@datatables.net</td> </tr> <tr> <td>Dai</td> <td>Rios</td> <td>Personnel Lead</td> <td>Edinburgh</td> <td>35</td> <td>2012/09/26</td> <td>$217,500</td> <td>2290</td> <td>d.rios@datatables.net</td> </tr> <tr> <td>Jenette</td> <td>Caldwell</td> <td>Development Lead</td> <td>New York</td> <td>30</td> <td>2011/09/03</td> <td>$345,000</td> <td>1937</td> <td>j.caldwell@datatables.net</td> </tr> <tr> <td>Yuri</td> <td>Berry</td> <td>Chief Marketing Officer (CMO)</td> <td>New York</td> <td>40</td> <td>2009/06/25</td> <td>$675,000</td> <td>6154</td> <td>y.berry@datatables.net</td> </tr> <tr> <td>Caesar</td> <td>Vance</td> <td>Pre-Sales Support</td> <td>New York</td> <td>21</td> <td>2011/12/12</td> <td>$106,450</td> <td>8330</td> <td>c.vance@datatables.net</td> </tr> <tr> <td>Doris</td> <td>Wilder</td> <td>Sales Assistant</td> <td>Sidney</td> <td>23</td> <td>2010/09/20</td> <td>$85,600</td> <td>3023</td> <td>d.wilder@datatables.net</td> </tr> <tr> <td>Angelica</td> <td>Ramos</td> <td>Chief Executive Officer (CEO)</td> <td>London</td> <td>47</td> <td>2009/10/09</td> <td>$1,200,000</td> <td>5797</td> <td>a.ramos@datatables.net</td> </tr> <tr> <td>Gavin</td> <td>Joyce</td> <td>Developer</td> <td>Edinburgh</td> <td>42</td> <td>2010/12/22</td> <td>$92,575</td> <td>8822</td> <td>g.joyce@datatables.net</td> </tr> <tr> <td>Jennifer</td> <td>Chang</td> <td>Regional Director</td> <td>Singapore</td> <td>28</td> <td>2010/11/14</td> <td>$357,650</td> <td>9239</td> <td>j.chang@datatables.net</td> </tr> <tr> <td>Brenden</td> <td>Wagner</td> <td>Software Engineer</td> <td>San Francisco</td> <td>28</td> <td>2011/06/07</td> <td>$206,850</td> <td>1314</td> <td>b.wagner@datatables.net</td> </tr> <tr> <td>Fiona</td> <td>Green</td> <td>Chief Operating Officer (COO)</td> <td>San Francisco</td> <td>48</td> <td>2010/03/11</td> <td>$850,000</td> <td>2947</td> <td>f.green@datatables.net</td> </tr> <tr> <td>Shou</td> <td>Itou</td> <td>Regional Marketing</td> <td>Tokyo</td> <td>20</td> <td>2011/08/14</td> <td>$163,000</td> <td>8899</td> <td>s.itou@datatables.net</td> </tr> <tr> <td>Michelle</td> <td>House</td> <td>Integration Specialist</td> <td>Sidney</td> <td>37</td> <td>2011/06/02</td> <td>$95,400</td> <td>2769</td> <td>m.house@datatables.net</td> </tr> <tr> <td>Suki</td> <td>Burks</td> <td>Developer</td> <td>London</td> <td>53</td> <td>2009/10/22</td> <td>$114,500</td> <td>6832</td> <td>s.burks@datatables.net</td> </tr> <tr> <td>Prescott</td> <td>Bartlett</td> <td>Technical Author</td> <td>London</td> <td>27</td> <td>2011/05/07</td> <td>$145,000</td> <td>3606</td> <td>p.bartlett@datatables.net</td> </tr> <tr> <td>Gavin</td> <td>Cortez</td> <td>Team Leader</td> <td>San Francisco</td> <td>22</td> <td>2008/10/26</td> <td>$235,500</td> <td>2860</td> <td>g.cortez@datatables.net</td> </tr> <tr> <td>Martena</td> <td>Mccray</td> <td>Post-Sales support</td> <td>Edinburgh</td> <td>46</td> <td>2011/03/09</td> <td>$324,050</td> <td>8240</td> <td>m.mccray@datatables.net</td> </tr> <tr> <td>Unity</td> <td>Butler</td> <td>Marketing Designer</td> <td>San Francisco</td> <td>47</td> <td>2009/12/09</td> <td>$85,675</td> <td>5384</td> <td>u.butler@datatables.net</td> </tr> <tr> <td>Howard</td> <td>Hatfield</td> <td>Office Manager</td> <td>San Francisco</td> <td>51</td> <td>2008/12/16</td> <td>$164,500</td> <td>7031</td> <td>h.hatfield@datatables.net</td> </tr> <tr> <td>Hope</td> <td>Fuentes</td> <td>Secretary</td> <td>San Francisco</td> <td>41</td> <td>2010/02/12</td> <td>$109,850</td> <td>6318</td> <td>h.fuentes@datatables.net</td> </tr> <tr> <td>Vivian</td> <td>Harrell</td> <td>Financial Controller</td> <td>San Francisco</td> <td>62</td> <td>2009/02/14</td> <td>$452,500</td> <td>9422</td> <td>v.harrell@datatables.net</td> </tr> <tr> <td>Timothy</td> <td>Mooney</td> <td>Office Manager</td> <td>London</td> <td>37</td> <td>2008/12/11</td> <td>$136,200</td> <td>7580</td> <td>t.mooney@datatables.net</td> </tr> <tr> <td>Jackson</td> <td>Bradshaw</td> <td>Director</td> <td>New York</td> <td>65</td> <td>2008/09/26</td> <td>$645,750</td> <td>1042</td> <td>j.bradshaw@datatables.net</td> </tr> <tr> <td>Olivia</td> <td>Liang</td> <td>Support Engineer</td> <td>Singapore</td> <td>64</td> <td>2011/02/03</td> <td>$234,500</td> <td>2120</td> <td>o.liang@datatables.net</td> </tr> <tr> <td>Bruno</td> <td>Nash</td> <td>Software Engineer</td> <td>London</td> <td>38</td> <td>2011/05/03</td> <td>$163,500</td> <td>6222</td> <td>b.nash@datatables.net</td> </tr> <tr> <td>Sakura</td> <td>Yamamoto</td> <td>Support Engineer</td> <td>Tokyo</td> <td>37</td> <td>2009/08/19</td> <td>$139,575</td> <td>9383</td> <td>s.yamamoto@datatables.net</td> </tr> <tr> <td>Thor</td> <td>Walton</td> <td>Developer</td> <td>New York</td> <td>61</td> <td>2013/08/11</td> <td>$98,540</td> <td>8327</td> <td>t.walton@datatables.net</td> </tr> <tr> <td>Finn</td> <td>Camacho</td> <td>Support Engineer</td> <td>San Francisco</td> <td>47</td> <td>2009/07/07</td> <td>$87,500</td> <td>2927</td> <td>f.camacho@datatables.net</td> </tr> <tr> <td>Serge</td> <td>Baldwin</td> <td>Data Coordinator</td> <td>Singapore</td> <td>64</td> <td>2012/04/09</td> <td>$138,575</td> <td>8352</td> <td>s.baldwin@datatables.net</td> </tr> <tr> <td>Zenaida</td> <td>Frank</td> <td>Software Engineer</td> <td>New York</td> <td>63</td> <td>2010/01/04</td> <td>$125,250</td> <td>7439</td> <td>z.frank@datatables.net</td> </tr> <tr> <td>Zorita</td> <td>Serrano</td> <td>Software Engineer</td> <td>San Francisco</td> <td>56</td> <td>2012/06/01</td> <td>$115,000</td> <td>4389</td> <td>z.serrano@datatables.net</td> </tr> <tr> <td>Jennifer</td> <td>Acosta</td> <td>Junior Javascript Developer</td> <td>Edinburgh</td> <td>43</td> <td>2013/02/01</td> <td>$75,650</td> <td>3431</td> <td>j.acosta@datatables.net</td> </tr> <tr> <td>Cara</td> <td>Stevens</td> <td>Sales Assistant</td> <td>New York</td> <td>46</td> <td>2011/12/06</td> <td>$145,600</td> <td>3990</td> <td>c.stevens@datatables.net</td> </tr> <tr> <td>Hermione</td> <td>Butler</td> <td>Regional Director</td> <td>London</td> <td>47</td> <td>2011/03/21</td> <td>$356,250</td> <td>1016</td> <td>h.butler@datatables.net</td> </tr> <tr> <td>Lael</td> <td>Greer</td> <td>Systems Administrator</td> <td>London</td> <td>21</td> <td>2009/02/27</td> <td>$103,500</td> <td>6733</td> <td>l.greer@datatables.net</td> </tr> <tr> <td>Jonas</td> <td>Alexander</td> <td>Developer</td> <td>San Francisco</td> <td>30</td> <td>2010/07/14</td> <td>$86,500</td> <td>8196</td> <td>j.alexander@datatables.net</td> </tr> <tr> <td>Shad</td> <td>Decker</td> <td>Regional Director</td> <td>Edinburgh</td> <td>51</td> <td>2008/11/13</td> <td>$183,000</td> <td>6373</td> <td>s.decker@datatables.net</td> </tr> <tr> <td>Michael</td> <td>Bruce</td> <td>Javascript Developer</td> <td>Singapore</td> <td>29</td> <td>2011/06/27</td> <td>$183,000</td> <td>5384</td> <td>m.bruce@datatables.net</td> </tr> <tr> <td>Donna</td> <td>Snider</td> <td>Customer Support</td> <td>New York</td> <td>27</td> <td>2011/01/25</td> <td>$112,000</td> <td>4226</td> <td>d.snider@datatables.net</td> </tr> </tbody> </table> <ul class="tabs"> <li class="active">Javascript</li> <li>HTML</li> <li>CSS</li> <li>Ajax</li> <li>Server-side script</li> </ul> <div class="tabs"> <div class="js"> <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { var table = $('#example').DataTable( { responsive: true, paging: false } ); new $.fn.dataTable.FixedHeader( table ); } );</code> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <ul> <li><a href="../../../../media/js/jquery.js">../../../../media/js/jquery.js</a></li> <li><a href="../../../../media/js/jquery.dataTables.js">../../../../media/js/jquery.dataTables.js</a></li> <li><a href="../../js/dataTables.responsive.js">../../js/dataTables.responsive.js</a></li> <li><a href="../../../FixedHeader/js/dataTables.fixedHeader.js">../../../FixedHeader/js/dataTables.fixedHeader.js</a></li> </ul> </div> <div class="table"> <p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p> </div> <div class="css"> <div> <p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The additional CSS used is shown below:</p><code class="multiline language-css">div.container { max-width: 1200px }</code> </div> <p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p> <ul> <li><a href="../../../../media/css/jquery.dataTables.css">../../../../media/css/jquery.dataTables.css</a></li> <li><a href="../../css/dataTables.responsive.css">../../css/dataTables.responsive.css</a></li> <li><a href="../../../FixedHeader/css/dataTables.fixedHeader.css">../../../FixedHeader/css/dataTables.fixedHeader.css</a></li> </ul> </div> <div class="ajax"> <p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is loaded.</p> </div> <div class="php"> <p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables documentation</a>.</p> </div> </div> </section> </div> <section> <div class="footer"> <div class="gradient"></div> <div class="liner"> <h2>Other examples</h2> <div class="toc"> <div class="toc-group"> <h3><a href="../initialisation/index.html">Basic initialisation</a></h3> <ul class="toc"> <li><a href="../initialisation/className.html">Class name</a></li> <li><a href="../initialisation/option.html">Configuration option</a></li> <li><a href="../initialisation/new.html">`new` constructor</a></li> <li><a href="../initialisation/ajax.html">Ajax data</a></li> <li><a href="../initialisation/default.html">Default initialisation</a></li> </ul> </div> <div class="toc-group"> <h3><a href="../styling/index.html">Styling</a></h3> <ul class="toc"> <li><a href="../styling/bootstrap.html">Bootstrap styling</a></li> <li><a href="../styling/foundation.html">Foundation styling</a></li> <li><a href="../styling/scrolling.html">Vertical scrolling</a></li> <li><a href="../styling/compact.html">Compact styling</a></li> </ul> </div> <div class="toc-group"> <h3><a href="./index.html">Display control</a></h3> <ul class="toc active"> <li><a href="./auto.html">Automatic column hiding</a></li> <li><a href="./classes.html">Class control</a></li> <li><a href="./init-classes.html">Assigned class control</a></li> <li class="active"><a href="./fixedHeader.html">With FixedHeader</a></li> <li><a href="./complexHeader.html">Complex headers (rowspan / colspan)</a></li> </ul> </div> <div class="toc-group"> <h3><a href="../child-rows/index.html">Child rows</a></h3> <ul class="toc"> <li><a href="../child-rows/disable-child-rows.html">Disable child rows</a></li> <li><a href="../child-rows/column-control.html">Column controlled child rows</a></li> <li><a href="../child-rows/right-column.html">Column control - right</a></li> <li><a href="../child-rows/whole-row-control.html">Whole row child row control</a></li> <li><a href="../child-rows/custom-renderer.html">Custom child row renderer</a></li> </ul> </div> </div> <div class="epilogue"> <p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br> Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and <a href="http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of DataTables.</p> <p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> &#169; 2007-2015<br> DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p> </div> </div> </div> </section> </body> </html>
zuolg/zstie
zsite-root/zsite-web/src/main/resources/static/pc/plugins/datatables/extensions/Responsive/examples/display-control/fixedHeader.html
HTML
apache-2.0
22,363
<div class="doc-content"> {% block content %} {% endblock %} </div>
skeiter9/javascript-para-todo_demo
webapp/bower_components/material/docs/config/template/ngdoc/base.template.html
HTML
mit
68
<!DOCTYPE html> <meta charset=utf-8> <title>DocumentType.prepend</title> <link rel=help href="https://dom.spec.whatwg.org/#dom-parentnode-prepend"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script> function test_prepend_on_Document() { var node = document.implementation.createDocument(null, null); test(function() { var parent = node.cloneNode(); parent.prepend(); assert_array_equals(parent.childNodes, []); }, 'Document.prepend() without any argument, on a Document having no child.'); test(function() { var parent = node.cloneNode(); var x = document.createElement('x'); parent.prepend(x); assert_array_equals(parent.childNodes, [x]); }, 'Document.prepend() with only one element as an argument, on a Document having no child.'); test(function() { var parent = node.cloneNode(); var x = document.createElement('x'); var y = document.createElement('y'); parent.appendChild(x); assert_throws('HierarchyRequestError', function() { parent.prepend(y); }); assert_array_equals(parent.childNodes, [x]); }, 'Document.append() with only one element as an argument, on a Document having one child.'); test(function() { var parent = node.cloneNode(); assert_throws('HierarchyRequestError', function() { parent.prepend('text'); }); assert_array_equals(parent.childNodes, []); }, 'Document.prepend() with text as an argument, on a Document having no child.'); test(function() { var parent = node.cloneNode(); var x = document.createElement('x'); var y = document.createElement('y'); assert_throws('HierarchyRequestError', function() { parent.prepend(x, y); }); assert_array_equals(parent.childNodes, []); }, 'Document.prepend() with two elements as the argument, on a Document having no child.'); } test_prepend_on_Document(); </script> </html>
youtube/cobalt
third_party/web_platform_tests/dom/nodes/prepend-on-Document.html
HTML
bsd-3-clause
2,022
<!DOCTYPE html> <HTML><head><TITLE>Manpage of AUTRACE:</TITLE> <meta charset="utf-8"> <link rel="stylesheet" href="/css/main.css" type="text/css"> </head> <body> <header class="site-header"> <div class="wrap"> <div class="site-title"><a href="/manpages/index.html">linux manpages</a></div> <div class="site-description">{"type":"documentation"}</div> </div> </header> <div class="page-content"><div class="wrap"> <H1>AUTRACE:</H1> Section: System Administration Utilities (8)<BR>Updated: Jan 2007<BR><A HREF="#index">Index</A> <A HREF="/manpages/index.html">Return to Main Contents</A><HR> <A NAME="lbAB">&nbsp;</A> <H2>NAME</H2> autrace - a program similar to strace <A NAME="lbAC">&nbsp;</A> <H2>SYNOPSIS</H2> <B>autrace</B> <I>program</I> [<B>-r</B>] [<I>program-args</I>]... <A NAME="lbAD">&nbsp;</A> <H2>DESCRIPTION</H2> <B>autrace</B> is a program that will add the audit rules to trace a process similar to strace. It will then execute the <I>program</I> passing <I>arguments</I> to it. The resulting audit information will be in the audit logs if the audit daemon is running or syslog. This command deletes all audit rules prior to executing the target program and after executing it. As a safety precaution, it will not run unless all rules are deleted with <B>auditctl</B> prior to use. <A NAME="lbAE">&nbsp;</A> <H2>OPTIONS</H2> <DL COMPACT> <DT><B>-r</B> <DD> Limit syscalls collected to ones needed for analyzing resource usage. This could help people doing threat modeling. This saves space in logs. </DL> <A NAME="lbAF">&nbsp;</A> <H2>EXAMPLES</H2> The following illustrates a typical session: <P> <PRE> <B>autrace /bin/ls /tmp</B> <B>ausearch --start recent -p 2442 -i </B> </PRE> <P> and for resource usage mode: <P> <PRE> <B>autrace -r /bin/ls</B> <B>ausearch --start recent -p 2450 --raw | aureport --file --summary</B> <B>ausearch --start recent -p 2450 --raw | aureport --host --summary</B> </PRE> <P> <A NAME="lbAG">&nbsp;</A> <H2>SEE ALSO</H2> <B><A HREF="/manpages/index.html?8+ausearch">ausearch</A></B>(8), <B><A HREF="/manpages/index.html?8+auditctl">auditctl</A></B>(8). <P> <A NAME="lbAH">&nbsp;</A> <H2>AUTHOR</H2> Steve Grubb <P> <HR> <A NAME="index">&nbsp;</A><H2>Index</H2> <DL> <DT><A HREF="#lbAB">NAME</A><DD> <DT><A HREF="#lbAC">SYNOPSIS</A><DD> <DT><A HREF="#lbAD">DESCRIPTION</A><DD> <DT><A HREF="#lbAE">OPTIONS</A><DD> <DT><A HREF="#lbAF">EXAMPLES</A><DD> <DT><A HREF="#lbAG">SEE ALSO</A><DD> <DT><A HREF="#lbAH">AUTHOR</A><DD> </DL> <HR> This document was created by <A HREF="/manpages/index.html">man2html</A>, using the manual pages.<BR> Time: 05:34:24 GMT, December 24, 2015 </div></div> </body> </HTML>
yuweijun/yuweijun.github.io
manpages/man8/autrace.8.html
HTML
mit
2,673