includes.js 629 B

12345678910
  1. function template(locals) {
  2. var pug_html = "", pug_mixins = {}, pug_interp;
  3. pug_mixins["foo"] = pug_interp = function() {
  4. var block = this && this.block, attributes = this && this.attributes || {};
  5. pug_html = pug_html + "<p>bar</p>";
  6. };
  7. pug_mixins["foo"]();
  8. pug_html = pug_html + "<body><p>:)</p><script>\n console.log(\"foo\\nbar\")\n</script><script type=\"text/javascript\">\nvar STRING_SUBSTITUTIONS = { // table of character substitutions\n '\\t': '\\\\t',\n '\\r': '\\\\r',\n '\\n': '\\\\n',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n};\n</script></body>";
  9. return pug_html;
  10. }