MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / reject

Function reject

lib/test/angular/1.4.3/angular.js:14695–14699  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

14693 * @returns {Promise} Returns a promise that was already resolved as rejected with the `reason`.
14694 */
14695 var reject = function(reason) {
14696 var result = new Deferred();
14697 result.reject(reason);
14698 return result.promise;
14699 };
14700
14701 var makePromise = function makePromise(value, resolved) {
14702 var result = new Deferred();

Callers 2

angular-animate.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected