Oh, perhaps because "resolve" is the wrong word to use there, because it makes you think of deferreds and promises. I'm not really resolving a promise of any kind, I'm sort of concluding the migration of a module, all that the resolve() method does is update the line in the log with the final result. It has the particular dom object bound to it.