I saw this code on someone else’s website, but found no reference to it on jQuery’s site.
window.addEvents({
'domready': resizer,
'resize': resizer
});
Can either: someone point me to the documentation for addEvents or explain to me how it works?
That’s not jQuery. It’s MooTools.
The equivalent in jQuery would be:
bindaccepts a map of event names to handler functions.