This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +6
-6
lines changed 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 14
14
* exposed as $$____ properties
15
15
*
16
16
* Loop operations are optimized by using while(count--) { ... }
17
- * - this means that in order to keep the same order of execution as addition we have to add
17
+ * - This means that in order to keep the same order of execution as addition we have to add
18
18
* items to the array at the beginning (unshift) instead of at the end (push)
19
19
*
20
20
* Child scopes are created and removed often
21
- * - Using an array would be slow since inserts in middle are expensive so we use linked list
21
+ * - Using an array would be slow since inserts in the middle are expensive; so we use linked lists
22
22
*
23
- * There are few watches then a lot of observers. This is why you don't want the observer to be
24
- * implemented in the same way as watch. Watch requires return of initialization function which
25
- * are expensive to construct.
23
+ * There are fewer watches than observers. This is why you don't want the observer to be implemented
24
+ * in the same way as watch. Watch requires return of the initialization function which is expensive
25
+ * to construct.
26
26
*/
27
27
28
28
64
64
* Every application has a single root {@link ng.$rootScope.Scope scope}.
65
65
* All other scopes are descendant scopes of the root scope. Scopes provide separation
66
66
* between the model and the view, via a mechanism for watching the model for changes.
67
- * They also provide an event emission/broadcast and subscription facility. See the
67
+ * They also provide event emission/broadcast and subscription facility. See the
68
68
* {@link guide/scope developer guide on scopes}.
69
69
*/
70
70
function $RootScopeProvider ( ) {
You can’t perform that action at this time.
0 commit comments