diff options
author | wohali <joant@ieee.org> | 2012-11-15 13:20:10 -0500 |
---|---|---|
committer | wohali <joant@ieee.org> | 2012-11-15 13:20:10 -0500 |
commit | 3c4555f3cf27cbb62be8e6a817060ffc5333cf08 (patch) | |
tree | 37c028b7c16535f808c581c251f7dbbc42a28b8f /couchjs/js/render.js | |
parent | 7af6efe1e40fa5782ee97e0af99de32578d8a2a3 (diff) |
Update couchjs for static build option, eliminate eval()
Diffstat (limited to 'couchjs/js/render.js')
-rw-r--r-- | couchjs/js/render.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/couchjs/js/render.js b/couchjs/js/render.js index 93ff6332..0dcefb08 100644 --- a/couchjs/js/render.js +++ b/couchjs/js/render.js @@ -174,7 +174,7 @@ var Render = (function() { blowChunks(); } var line = readline(); - var json = eval('('+line+')'); + var json = JSON.parse(line); if (json[0] == "list_end") { lastRow = true; return null; |