DoneJS StealJS jQuery ++ FuncUnit DocumentJS
3.0.0
2.3.27

 

  • Github
  • Twitter
  • Chat
  • Forum
  • Guides
  • Core
  • Ecosystem
  • Infrastructure
  • Legacy
    • can-ejs
      • tags
        • <% CODE %>
        • <%= CODE %>
        • <%== CODE %>
        • <%# CODE %>
      • methods
        • from
    • can-list
    • can-map
    • can-map-backup
    • can-map-define
    • can-view-href
  • Bitovi
    • Bitovi.com
    • Blog
    • Consulting
    • Training
    • Open Source
  • Chat
  • Forum
  • Star
  • Follow @canjs
  • CanJS
  • /
  • Legacy
  • /
  • can-ejs
  • /
  • <%== CODE %>
  • / On this page
    • <%== CODE %>

      function
      • source

      <%== CODE %>

      Runs JS Code and writes the unescaped result into the result of the template.

      The following results in "my favorite element is B.". Using <%== is useful for sub-templates.

           <div>my favorite element is <%== '<B>B</B>' %>.</div>
      

      CanJS is part of DoneJS. Created and maintained by the core DoneJS team and Bitovi. Currently 3.0.0.