controljs icon indicating copy to clipboard operation
controljs copied to clipboard

support inline script onload handlers

Open GoogleCodeExporter opened this issue 9 years ago • 0 comments

If the user has a script with an inline onload handler:

<script src="foo.js" onload="alert(123)" type="text/javascript"></script>

and we convert it to ControlJS:

<script cjssrc="foo.js" onload="alert(123)" type="text/cjs"></script>

I'm pretty sure alert(123) is never called. ControlJS ignore inline onload 
handlers for scripts. We should pass these through so they get called.

Original issue reported on code.google.com by [email protected] on 17 Dec 2010 at 12:14

GoogleCodeExporter avatar Mar 16 '15 22:03 GoogleCodeExporter