raptor
Version:
RaptorJS provides an AMD module loader that works in Node, Rhino and the web browser. It also includes various sub-modules to support building optimized web applications.
2 lines • 544 B
JavaScript
(function(){function c(b,a){return b.write('<div class="hello-world ').reference(a.get("rootClass"),a,"h").write('">').reference(a.get("message"),a,"h").write("</div>").exists(a.get("colors"),a,{block:d},null).notexists(a.get("colors"),a,{block:e},null)}function d(b,a){return b.write("<ul>").section(a.get("colors"),a,{block:f},null).write("</ul>")}function f(b,a){return b.write('<li class="color">').reference(a.getPath(!0,[]),a,"h").write("</li>")}function e(b){return b.write("<div>No colors!</div>")}
dust.register("demo",c);return c})();