projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add #json helper for Handlebars.
[mkws-moved-to-github.git]
/
tools
/
htdocs
/
mkws.js
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
48ec152
..
32710e7
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-113,6
+113,10
@@
Handlebars.registerHelper('link', function(a) {
});
+Handlebars.registerHelper('json', function(obj) {
+ return JSON.stringify(obj);
+});
+
{
/* default mkws config */