this is in regards to this post on the iGoogle Developer Blog: http://igoogledeveloper.blogspot.com/2009/01/igoogles-getting-some-changes-under.html
See the article snippet below for context. My question is this - what will happen if your JavaScript doesn't include the comments <!-- // --> and just contains javascript? And secondly is there anywhere we can test existing gadgets against this new rendering method to ensure compatibility ahead of time? For instance - if a gadget works well / displays fine in the sandbox - is this a good test? thanks. Steve >From the article: Second, iGoogle will dynamically rewrite some HTML and JavaScript for faster loading and rendering times. While this is generally a good thing, some malformed HTML and JavaScript can cause problems. Make sure to wrap your JavaScript code as demonstrated by the following example to avoid many common issues: <script type="text/javascript"> <!-- // js code goes here... // --> </script> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
