mozilla/addon-sdk — pull request #342 by Gozala (2012-02-09 03:55:04+00:00)
Title: Set of always wish had utility functions

So this change implements set of utility functions that are super useful every now and then, but I always either was implementing them in place or tried to avoid them all together. I have faced the same thing once again when working on new events #312 and finally I have decided to put these together. Also since it does not really relates to the events work I cherry-picked these changes into separate (this) branch.

So this adds some utility functions and also normalizes `Enqueued` into defer to match backbone. Still I keep `Enqueued` with a deprecation warnings.