diff options
Diffstat (limited to 'lib/dojo/DeferredList.js')
-rw-r--r-- | lib/dojo/DeferredList.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/dojo/DeferredList.js b/lib/dojo/DeferredList.js index a8156aba2..afe6638a1 100644 --- a/lib/dojo/DeferredList.js +++ b/lib/dojo/DeferredList.js @@ -1,5 +1,5 @@ /* - Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. + Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ @@ -8,6 +8,8 @@ if(!dojo._hasResource["dojo.DeferredList"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojo.DeferredList"] = true; dojo.provide("dojo.DeferredList"); + + dojo.DeferredList = function(/*Array*/ list, /*Boolean?*/ fireOnOneCallback, /*Boolean?*/ fireOnOneErrback, /*Boolean?*/ consumeErrors, /*Function?*/ canceller){ // summary: // Provides event handling for a group of Deferred objects. @@ -65,7 +67,7 @@ dojo.DeferredList = function(/*Array*/ list, /*Boolean?*/ fireOnOneCallback, /*B dojo.DeferredList.prototype = new dojo.Deferred(); dojo.DeferredList.prototype.gatherResults= function(deferredList){ - // summary: + // summary: // Gathers the results of the deferreds for packaging // as the parameters to the Deferred Lists' callback |