index.js
function(argument) {
				//console.log("deep.Deferred.resolve : ", argument);
				if (this.rejected || this.resolved)
					throw new Error("deferred has already been ended !");
				if (argument instanceof Error)
					return this.reject(argument);
				this._success = argument;
				this.resolved = true;
				var self = this;
				this._promises.forEach(function(promise) {
					promise.resolve(argument);
				});
			}
function(argument) {
				//console.log("deep.Deferred.resolve : ", argument);
				if (this.rejected || this.resolved)
					throw new Error("deferred has already been ended !");
				if (argument instanceof Error)
					return this.reject(argument);
				this._success = argument;
				this.resolved = true;
				var self = this;
				this._promises.forEach(function(promise) {
					promise.resolve(argument);
				});
			}
function ( argument ) { //console.log("deep.Deferred.resolve : ", argument); if ( this . rejected || this . resolved ) throw new Error ( "deferred has already been ended !" ) ; if ( argument instanceof Error ) return this . reject ( argument ) ; this . _success = argument ; this . resolved = true ; var self = this ; this . _promises . forEach ( function ( promise ) { promise . resolve ( argument ) ; } ) ; }
resolve the Deferred and so the associated promise
@method resolve
@param  {Object} argument the resolved object injected in promise
@return {deep.Deferred} this
resolve the Deferred and so the associated promise