Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Using System.js vs Steal.js

$
0
0
Just to clean up the question with client templates.

While build process steal is converting (compiling) templates file *.mustache, *.stache files  from just text to js-based templates like:

  1. <li can-click="auth.logout"',n.view.pending({attrs:["can-click"],scope:s,options:a}),">"),t.push('<a >Log out</a></li>

ok, the question is why do we need this, why we can not just get strings to to client? What is the reason behind pre-compiled templates?

Viewing all articles
Browse latest Browse all 3491

Trending Articles