New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing $browser.defer(), add $defer mock, clear $defer #532

vojtajina opened this Issue Aug 23, 2011 · 1 comment


None yet
2 participants

vojtajina commented Aug 23, 2011

  • get rid off $browser.defer()
  • use $defer mock during testing
  • $defer should have API for clearing
  • scope.$apply() inside $defer callback should be optional, so that you can do low level stuff without triggering $apply
  • should emit 'asyncStart', 'asyncEnd' events for scenario runner

Related issue: #469

IgorMinar added a commit to IgorMinar/angular.js that referenced this issue May 23, 2012

feat($timeout): add $timeout service that supersedes $defer
$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

This comment has been minimized.

Show comment
Hide comment

pkozlowski-opensource Dec 15, 2012


This was fixed in 4511d39.

This was fixed in 4511d39.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment