@@ -48,7 +48,7 @@ Since those proposals, we have rewritten Ember's rendering engine from the groun
48
48
up (the "Glimmer 2" project). One of the goals of the Glimmer 2 effort was to
49
49
build first-class primitives for our view-layer features in the rendering engine.
50
50
As part of the process, we worked to rationalize these features and to re-think
51
- the role of components in Ember.js. This execrise has brought plenty of new ideas
51
+ the role of components in Ember.js. This exercise has brought plenty of new ideas
52
52
and constraints to the table.
53
53
54
54
The initial Glimmer 2 integration was completed in [ November] ( http://emberjs.com/blog/2016/11/30/ember-2-10-released.html ) .
@@ -330,7 +330,7 @@ class MyManager implements ComponentManager<MyStateBucket> {
330
330
331
331
instance .setProperties (args .named );
332
332
333
- return { secret , instance };
333
+ return { immutable , instance };
334
334
}
335
335
336
336
// expose the component instance (but not the internal details) as
@@ -383,7 +383,7 @@ class PooledManager implements ComponentManager<Object> {
383
383
return instance ;
384
384
}
385
385
386
- ...
386
+ // ...
387
387
388
388
}
389
389
```
@@ -398,7 +398,7 @@ with individual features PAYGO (pay-as-you-go). The Glimmer architecture makes
398
398
it possible to break down the work of component invocation into small pieces.
399
399
400
400
For example, a "template-only component" doesn't need Glimmer to invoke any
401
- the hooks related to lifecycle management of the * component instance* .
401
+ of the hooks related to the lifecycle management of the * component instance* .
402
402
Therefore, in an ideal world, they should not pay the cost associated with
403
403
invoking those hooks.
404
404
@@ -427,7 +427,7 @@ const { capabilities, definition } from Ember.Component;
427
427
export default definition ({
428
428
name: " foo-bar" ,
429
429
capabilities: capabilities (" 2.13" ),
430
- ...
430
+ // ...
431
431
});
432
432
```
433
433
@@ -474,7 +474,7 @@ export default definition({
474
474
someFeature: true ,
475
475
anotherFeature: true
476
476
}),
477
- ...
477
+ // ...
478
478
});
479
479
```
480
480
0 commit comments