Given: if (/\*\//.test("*/")) alert("!");
sees this as the start of a single-line comment: //.test("*/")) alert("!");
Fix for this specific problem, but in general the design of codepress is likely to fail on things like // in a string, and probably other places.
Logged In: YES user_id=263241 Originator: YES
File Added: javascript.patch
Log in to post a comment.
Fix for this specific problem, but in general the design of codepress is likely to fail on things like // in a string, and probably other places.
Logged In: YES
user_id=263241
Originator: YES
File Added: javascript.patch