Icontem

File: doc-templates/default/tmpl/examples.tmpl

Recommend this page to a friend!
  Classes of Sebastian Schlapkohl  >  jQuery Annex  >  doc-templates/default/tmpl/examples.tmpl  >  Download  
File: doc-templates/default/tmpl/examples.tmpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: jQuery Annex
General purpose functions missing in jQuery
Author: By
Last change:
Date: 1 year ago
Size: 297 bytes
 

Contents

Class file image Download
<?js
    var data = obj;
    var self = this;

    data.forEach(function(example) {
        if (example.caption) {
    ?>
        <p class="code-caption"><?js= example.caption ?></p>
    <?js } ?>
    <pre class="prettyprint"><code><?js= self.htmlsafe(example.code) ?></code></pre>
<?js
    });
?>