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

Closed
vojtajina opened this Issue Aug 23, 2011 · 1 comment

Projects

None yet

2 participants

@vojtajina
Contributor
  • 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 IgorMinar added a commit to IgorMinar/angular.js that referenced this issue May 23, 2012
@IgorMinar IgorMinar 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
4511d39
@pkozlowski-opensource

This was fixed in 4511d39.

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