controljs
controljs copied to clipboard
support inline script onload handlers
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