Skip to content

Collections, Objects and subscriptions attached to scope for automatic closing

Choose a tag to compare

@Urigo Urigo released this 17 May 21:36
· 2742 commits to master since this release

Features

  • Delete Blaze view handler on $scope destroy, thanks @barbatus - #321
  • Change $scope.subscribe to $scope.$meteorSubscribe (closing the subscription on scope $destroy), thanks @maenriquez and @auterium - #323
  • Add $scope.$meteorCollection & $scope.$meteorObject methods that will stop the collection or object on scope $destroy, thanks @maenriquez and @auterium - #323
  • Close when scope destroys also in $scope.MeteorCollection/Object.subscribe functions - 429a0ca

Docs