| Index: third_party/pkg/angular/lib/core_dom/block_factory.dart
|
| diff --git a/third_party/pkg/angular/lib/core_dom/block_factory.dart b/third_party/pkg/angular/lib/core_dom/block_factory.dart
|
| index 4c15de9c07ed60651d40e3883192f4a527b880d6..9491bb64c997eefaa45e80a6e60fc3d42e2c0b3b 100644
|
| --- a/third_party/pkg/angular/lib/core_dom/block_factory.dart
|
| +++ b/third_party/pkg/angular/lib/core_dom/block_factory.dart
|
| @@ -9,7 +9,6 @@ part of angular.core.dom;
|
| *
|
| * The BoundBlockFactory needs [Scope] to be created.
|
| */
|
| -
|
| class BoundBlockFactory {
|
| BlockFactory blockFactory;
|
|
|
| @@ -26,14 +25,12 @@ class BoundBlockFactory {
|
| * BlockFactory is used to create new [Block]s. BlockFactory is created by the
|
| * [Compiler] as a result of compiling a template.
|
| */
|
| -
|
| class BlockFactory {
|
| final List directivePositions;
|
| final List<dom.Node> templateElements;
|
| final Profiler _perf;
|
| final Expando _expando;
|
|
|
| -
|
| BlockFactory(this.templateElements, this.directivePositions, this._perf, this._expando);
|
|
|
| BoundBlockFactory bind(Injector injector) =>
|
| @@ -58,12 +55,12 @@ class BlockFactory {
|
| var preRenderedIndexOffset = 0;
|
| var directiveDefsByName = {};
|
|
|
| - for (num i = 0, ii = directivePositions.length; i < ii;) {
|
| - num index = directivePositions[i++];
|
| + for (int i = 0, ii = directivePositions.length; i < ii;) {
|
| + int index = directivePositions[i++];
|
|
|
| List<DirectiveRef> directiveRefs = directivePositions[i++];
|
| List childDirectivePositions = directivePositions[i++];
|
| - var nodeListIndex = index + preRenderedIndexOffset;
|
| + int nodeListIndex = index + preRenderedIndexOffset;
|
| dom.Node node = nodeList[nodeListIndex];
|
|
|
| var timerId;
|
| @@ -79,7 +76,7 @@ class BlockFactory {
|
| }
|
|
|
| var childInjector = _instantiateDirectives(block, parentInjector, node,
|
| - directiveRefs, parentInjector.get(Parser));
|
| + directiveRefs, parentInjector.get(Parser));
|
|
|
| if (childDirectivePositions != null) {
|
| _link(block, node.nodes, childDirectivePositions, childInjector);
|
| @@ -280,7 +277,6 @@ class BlockCache {
|
| * the shadowDom, fetching template, importing styles, setting up attribute
|
| * mappings, publishing the controller, and compiling and caching the template.
|
| */
|
| -
|
| class _ComponentFactory {
|
|
|
| final dom.Element element;
|
|
|