Possible Duplicate:
Why split the <script> tag when writing it with document.write()?
Looking at the enyo source, I see this (in enyo.js):
document.write('<scri' + 'pt src="' + root + "/source/boot/" + inSrc + '"></scri' + 'pt>');
Why is the <script
tag broken into <scri + pt
? The same is done for the end tag. Is this a secret of the Javascript ninja that I'm not aware of?