Hi John,
This is known technique how to add script tag into html. If there will
be only '</script>', the parser will stop and no content will be write
to document (and error may be thrown).
Cheers
- Petr
2008/8/22 John de la Garza <[EMAIL PROTECTED]>:
> I'm looking at the demobrowser source code and noticed this in the
> index.html
>
> <script type="text/javascript">if (location.hostname ===
> "demo.qooxdoo.org")
> document.write('<script
> src="http://resources.qooxdoo.org/script/analytics.js"
> type="text/javascript"></scr' + 'ipt>');</script>
>
>
> Is there a reason for this:
>
>
> </scr' + 'ipt>'
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel