pz7gc3 / embeddedjavascript

Automatically exported from code.google.com/p/embeddedjavascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EJS.update from json url

GoogleCodeExporter opened this issue · comments

EJS.update throws javascript error: 'expected ;' in case you pass json url as 
second parameter to update function. It should enclose json string into 
parentheses to work properly(at least in IE9). The fix is to replace line 112 
with var object = eval( '('+request.responseText+')' );

Original issue reported on code.google.com by alber...@gmail.com on 11 Jul 2012 at 12:25

Hi, I've got the same error in Chrome, so your comment helped me a lot, thanks!

Original comment by alexey.m...@gmail.com on 27 Mar 2013 at 9:30