Bug #40 - SyntaxError: missing ; before statement
Submitted by: Jean-Baptiste Quenot
Date submitted: 2011-10-28 14:30:27 UTC
Status: Open
---------------------------------------8<-------------------------------
mkdir test
cat >> test/test.js << EOF
if (callback)
$(".overlay form").submit(function() { callback(); return false; });
EOF
jscoverage test test-ins
---------------------------------------8<-------------------------------
Expected result:
Instrumented test.js in test-ins
Actual result:
jscoverage:test.js:2: SyntaxError: missing ; before statement
Add a comment
Date submitted: 2011-10-28 19:33:22 UTC