Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The adventurous can add the following lines starting at 2949:</p> <pre><code>delegate: function( selector, types, data, fn ) { /// &lt;summary&gt; /// Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements. See also "live". /// &lt;/summary&gt; /// &lt;param name="selector" type="String"&gt; /// An expression to search with. /// &lt;/param&gt; /// &lt;param name="types" type="String"&gt; /// A string containing a JavaScript event type, such as "click" or "keydown". /// &lt;/param&gt; /// &lt;param name="data" type="Object"&gt; /// A map of data that will be passed to the event handler. /// &lt;/param&gt; /// &lt;param name="fn" type="Function"&gt; /// A function to execute at the time the event is triggered. /// &lt;/param&gt; return this.live( types, data, fn, selector ); }, undelegate: function( selector, types, fn ) { /// &lt;summary&gt; /// Remove a handler from the event for all elements which match the current selector, now or in the future, based upon a specific set of root elements. See also "die". /// &lt;/summary&gt; /// &lt;param name="selector" type="String"&gt; /// An expression to search with. /// &lt;/param&gt; /// &lt;param name="types" type="String"&gt; /// A string containing a JavaScript event type, such as "click" or "keydown". /// &lt;/param&gt; /// &lt;param name="data" type="Object"&gt; /// A map of data that will be passed to the event handler. /// &lt;/param&gt; /// &lt;param name="fn" type="Function"&gt; /// A function to execute at the time the event is triggered. /// &lt;/param&gt; if ( arguments.length === 0 ) { return this.unbind( "live" ); } else { return this.die( types, null, fn, selector ); } }, </code></pre> <p>That documentation is pretty much ripped from jQuery web pages and from current definitions of "live" and "die", but feel free to adjust as you see fit.</p> <p>Also, at line 224:</p> <pre><code>// The current version of jQuery being used jquery: "1.4.2", </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload