change it to !include
This commit is contained in:
parent
d6088be47f
commit
7644217add
8 changed files with 43 additions and 14 deletions
|
@ -1,8 +1,11 @@
|
|||
function(doc, req) {
|
||||
// include-lib
|
||||
// !include lib.templates
|
||||
|
||||
// !require lib.helpers.template
|
||||
|
||||
respondWith(req, {
|
||||
html : function() {
|
||||
var html = template(lib["example.html"], doc);
|
||||
var html = template(lib.templates.example, doc);
|
||||
return {body:html}
|
||||
},
|
||||
xml : function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue