oulan / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

make iui work with XHTML #232

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When served as XHTML, a number of problems pop up with the Javascript,
specifically use of the innerHTML property and creation of HTML fragments.
The attached changes allow iui pages to be served as XHTML, with no
detriment for HTML pages.

I've also wrapped the contents of a couple of for..in loops with a
hasOwnProperty check, which is an important thing to do if something has
modified the object prototype.

Whitespace in iui.js really needs a cleanup. Seems to be a mix of tabs and
spaces...

Original issue reported on code.google.com by mike...@gmail.com on 16 Mar 2010 at 4:54

Attachments:

GoogleCodeExporter commented 9 years ago
Thank for the patch.  Sorry about the whitespace thing - I may have to switch 
editors...

Original comment by msgilli...@gmail.com on 16 Mar 2010 at 8:37