| Index: third_party/pkg/angular/lib/core_dom/common.dart
|
| diff --git a/third_party/pkg/angular/lib/core_dom/common.dart b/third_party/pkg/angular/lib/core_dom/common.dart
|
| index e87d803389c33859a8bf3c0485ca3745cccb9af9..80d943387bad92ccb83cd1ddb8493c8821923618 100644
|
| --- a/third_party/pkg/angular/lib/core_dom/common.dart
|
| +++ b/third_party/pkg/angular/lib/core_dom/common.dart
|
| @@ -1,11 +1,7 @@
|
| part of angular.core.dom;
|
|
|
| List<dom.Node> cloneElements(elements) {
|
| - var clones = [];
|
| - for(var i = 0, ii = elements.length; i < ii; i++) {
|
| - clones.add(elements[i].clone(true));
|
| - }
|
| - return clones;
|
| + return elements.map((el) => el.clone(true)).toList();
|
| }
|
|
|
| typedef ApplyMapping(NodeAttrs attrs, Scope scope, Object dst);
|
|
|