Open GoogleCodeExporter opened 9 years ago
I am unable to reproduce this issue. The Foo.init() function can be called
when the code is added inline via this script tag:
<script type=text/cjs>
var Foo = {
init: function() {
eval("alert('test')");
}
};
</script>
Original comment by serverhe...@gmail.com
on 16 Dec 2010 at 8:02
May be it makes difference to load it as an external script?
Original comment by michael.bevz
on 16 Dec 2010 at 8:14
Can you paste your HTML and JavaScript? I cannot see why, if it's an external
file, this would be a problem.
Original comment by serverhe...@gmail.com
on 16 Dec 2010 at 9:15
Original issue reported on code.google.com by
michael.bevz
on 16 Dec 2010 at 2:48