[Plugin: ZD Scribd iPaper] Minor JavaScript bug in Scribd plugin
-
Hello,
I’ve found a minor bug in file: zd-scribd-ipaper.php:202
$ipaper_script .= “var “.$ipaper_var.” = scribd.Document.getDoc(“.$id.”, ‘”.$key.”‘)”.”\n”;
is missing “;” from the javascript line;
It should look like:
$ipaper_script .= “var “.$ipaper_var.” = scribd.Document.getDoc(“.$id.”, ‘”.$key.”‘);”.”\n”;
I found it due too need parse some html using PHP Simple PHP DOM parset, which produced one line output, without line breaks and this got me started getting unexpected syntax/identifier errors.
- The topic ‘[Plugin: ZD Scribd iPaper] Minor JavaScript bug in Scribd plugin’ is closed to new replies.