index.js
function() {
				var prom = new promise.Promise();
				//console.log("deep2.Deffered.promise : ", prom, " r,r,c : ", this.rejected, this.resolved, this.canceled)
				if (this.resolved)
					return prom.resolve(this._success);
				if (this.rejected)
					return prom.reject(this._error);
				this._promises.push(prom);
				return prom;
			}
function() {
				var prom = new promise.Promise();
				//console.log("deep2.Deffered.promise : ", prom, " r,r,c : ", this.rejected, this.resolved, this.canceled)
				if (this.resolved)
					return prom.resolve(this._success);
				if (this.rejected)
					return prom.reject(this._error);
				this._promises.push(prom);
				return prom;
			}
function ( ) { var prom = new promise . Promise ( ) ; //console.log("deep2.Deffered.promise : ", prom, " r,r,c : ", this.rejected, this.resolved, this.canceled) if ( this . resolved ) return prom . resolve ( this . _success ) ; if ( this . rejected ) return prom . reject ( this . _error ) ; this . _promises . push ( prom ) ; return prom ; }
return a promise for this deferred
@method promise
@return {deep.Promise}
return a promise for this deferred