My favorites
▼
|
Sign in
json-template
Minimal but powerful templating language implemented in multiple languages
Project Home
Downloads
Wiki
Issues
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
27
attachment: json-template.diff
(969 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: ~/www/webapp/modules/isw/views/media/js
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: json-template-ns.js
--- json-template-ns.js Base (BASE)
+++ json-template-ns.js Locally Modified (Based On LOCAL)
@@ -147,8 +147,15 @@
i--;
} else {
var value = context[name];
- if (value === undefined || value === null) {
+ if (value === undefined /*|| value === null*/) {
+ if (i===0){
+ log('json-template: value undefined for '+name);
+ return '';
+ }else{
i--;
+ continue;
+ }
+ //i--;
} else {
return value;
}
Powered by
Google Project Hosting