Archive for the 'jQuery' Category

 

notes to self

Jan 07, 2008 in c#, jQuery, javascript

Never _ever_ use:

try {
// Awesomely cool code
} catch (e) {
// Do nothing
}

Why go through the waste of resource use on everyone’s part to trap an error and say “Oh well, an error occurred, no big deal, moving on,” other than to not raise the error(s) to the client (Both end-user and the party paying for said code) about your shitty code. Have a nice day.

cornerz - a decent anti-aliased rounded corner jQuery plugin

I tried it out, works awesome! There are a few additions needed for IE that I would prefer to handle myself in the HTML over the script injecting it automagically if the dreaded Internet Explorer is detected as I already have to do this for other cool jquery scripts. Another note to self: something is broken when using IE on the stupid boinc site.