I've just been fixing some of these which cause random versions of IE
to fail in random ways so thought I'd send a reminder to the list.

Compare this:


Calendar.setup({
    blah  : "pie",
    blarg : "cake",
});


with this:


Calendar.setup({
    blah  : "pie",
    blarg : "cake"
});


That spare comma after the cake in the first example will cause some
flavours of IE to choke. Most browsers aren't so fragile on that
point.

It's easy to accidentally leave these laying around when changing args
around and they don't tend to break for most browsers. Maybe we can
add in a test for these at some point in the future. I can imagine a
regex that should catch the bulk if not all of them.

-reed
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to