HateEternal
Mac Metal Head
I noticed that some of the JavaScript code that shipped with Tiger's widgets is very sloppy. Generally we got yelled at for stuff like this when we turned in projects in all the programming courses I took.
Not really a big deal or anything. It just seems weird that there is all sorts of debug code commented out in production code.
From AddressBook:
Not really a big deal or anything. It just seems weird that there is all sorts of debug code commented out in production code.
From AddressBook:
Code:
function onShow()
{
//alert("JS: onShow()");
//AddressBook.widgetDidShow();
abCurrentCardIndex = AddressBook.searchForString(savedSearchString);
refresh();
}
Code:
function onHide()
{
//alert("JS: onHide()");
AddressBook.hideLargeType();
//AddressBook.widgetDidHide();
}