Apg-Tng
SSR Html template engine

HomeCache menu


Cache examples

ERROR

ApgTngService Error! Template interpolation

In the template: srv/templates/deliverables/classless/ApgTngClasslessDetailsH4CodeDeliverable.html

_contents_ is not defined

Cut and paste following code to a linter as potentially invalid javascript.

                        function compiledJavascript (templateData){

  function anonymous(templateData
  ) {
  with(templateData) {
  const r=[];
  r.push(`<!--
    ApgTngClasslessDetailsH4CodeDeliverable
    @module [apg-tng]
    @author [APG] Angeli Paolo Giusto
    @version 0.9.7 [APG 2023/05/28]
  -->
  
  
  
  
  
  
  
  `);
  for (const item of [_contents_] ) {
  r.push(`<details>
    <summary>
      <h4>`);
  r.push(item.title);
  r.push(`</h4>
    </summary>
    <pre> <code>`);
  r.push(item.content);
  r.push(`</code></pre>
  </details>`);
  }
  
  return r.join("");
  }
  }
  }
}