This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 2dad2da5e051349f54ed374ddfdd6e032b7590ef
tree 1b939117067a23ddfee695748f2a350e18c2c58e
parent a415ed183b503e973a5f77210713212811dd9363
tree 1b939117067a23ddfee695748f2a350e18c2c58e
parent a415ed183b503e973a5f77210713212811dd9363





Comments
I would do:
$w(‘show hide move fade appear observeMove’).each(function(name) {
this.behaviors[name] = this[name].bind(this);
}, this)
It’s usually faster to call event.pointer() and then reuse its x/y properties (rather than calling method twice) : )
Any reason to use bracket notation (over a more concise “dot” one) ?
Pat, you just can’t stand $(document.body), can you? : )
Maybe it would make sense to configure offset (“5”) via options?
I like to use the bracket notation when it’s clear that the object is more or less just a container for other things (similar to using a hash in Ruby). I use the dot notation when the property is more of an attribute of the object (I have a weird relationship with my code).
Haha, more like I can never remember it. Thanks again for the reminder. It’s been fixed in the most recent commit.