aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/timeout.js
AgeCommit message (Collapse)Author
2012-11-11docs($timeout): set return type to Promise instead of *.Wes Alvaro
The cancel function accepts a Promise, but the timeout function fails to specify returning a Promise.
2012-06-12docs(*): simplify doc urlsIgor Minar
we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions
2012-06-04fix($timeout): allow calling $timeout.cancel() with undefinedAli Mills
This is how it worked in rc9, before refactoring $defer into $timeout.
2012-05-23feat($timeout): add $timeout service that supersedes $deferIgor Minar
$timeout has a better name ($defer got often confused with something related to $q) and is actually promise based with cancelation support. With this commit the $defer service is deprecated and will be removed before 1.0. Closes #704, #532