Community
Participate
Working Groups
Build Identifier: 20110916-0149 Lines like: <button onclick="return on_foo_clicked()">foo</button> results in an error: Cannot return from outside a function or method Reproducible: Always Steps to Reproduce: 1. Create a php file 2. Outside <??>-blocks, write html like the one mentioned 3. Watch error markups
Created attachment 216808 [details] disable js validator I think it is better to add a preference key in preferences page to enable/disable js validator.
With JSDT 2.0 problem is not visible anymore.
Closing