| Issue 27: | Better handle undefined variables | |
| 1 person starred this issue and may be notified of changes. | Back to list |
$console.log(jsontemplate.Template('vvv={vvv}').expand({xxx:10}))
Generate an exception difficult to intercept and on real/complex
applications it is possibile that variables are not present in the json
object.
I've made a patch that detects this situation, logs it and return an empty
String to let the program execution continue without exceptions
I'll find it useful and think others too..
Thanks, Francesco.
Jul 3, 2009
Project Member
#1
gtempacc...@yahoo.com
Jul 9, 2009
The release is now in the downloads area. Let me know if this doesn't solve your problem.
Status:
Fixed
|