mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs($q): promises are no longer automatically unwrapped, by default
Although it is still possible to turn this on, the feature is deprecated and it is best to remove this mention completely here. Closes #4632
This commit is contained in:
parent
fca7bcaf43
commit
28ab4b600a
1 changed files with 0 additions and 2 deletions
|
|
@ -141,8 +141,6 @@
|
|||
* - $q is integrated with the {@link ng.$rootScope.Scope} Scope model observation
|
||||
* mechanism in angular, which means faster propagation of resolution or rejection into your
|
||||
* models and avoiding unnecessary browser repaints, which would result in flickering UI.
|
||||
* - $q promises are recognized by the templating engine in angular, which means that in templates
|
||||
* you can treat promises attached to a scope as if they were the resulting values.
|
||||
* - Q has many more features than $q, but that comes at a cost of bytes. $q is tiny, but contains
|
||||
* all the important functionality needed for common async tasks.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue