deferred.js
function resolve(){
		var args = Array.prototype.slice.call(arguments);
		event.trigger('resolve', args);
	}
function resolve(){
		var args = Array.prototype.slice.call(arguments);
		event.trigger('resolve', args);
	}
function resolve ( ) { var args = Array . prototype . slice . call ( arguments ) ; event . trigger ( 'resolve' , args ) ; }
Deferred methods to trigger the promise
@example def.resolve(args)
@example def.reject(args)
@example def.notify(args)
Deferred methods to trigger the promise