Style nits.

This commit is contained in:
Brendan Dahl 2011-12-12 09:26:24 -08:00
parent 0d370fd206
commit 176452c988
5 changed files with 6 additions and 6 deletions

View File

@ -220,8 +220,8 @@ var Promise = (function PromiseClosure() {
/**
* Builds a promise that is resolved when all the passed in promises are
* resolved.
* @param Array promises
* @return Promise
* @param {Promise[]} promises Array of promises to wait for.
* @return {Promise} New dependant promise.
*/
Promise.all = function(promises) {
var deferred = new Promise();

View File

@ -25,7 +25,7 @@ Message.prototype = {
this.messager = messager;
this.id = id;
}
}
};
function MessageHandler(name, comObj) {
this.name = name;