Skip to content

Commit

Permalink
fix(dom_util): loosen typing of nodes list
Browse files Browse the repository at this point in the history
  • Loading branch information
chirayuk authored and dsalsbury committed Aug 16, 2014
1 parent 157000a commit 5b8bcd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core_dom/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ part of angular.core.dom_internal;

List<dom.Node> cloneElements(List<dom.Node> elements) {
int length = elements.length;
var clones = new List<dom.Node>(length);
var clones = new List(length);
for(var i=0; i < length; i++) {
clones[i] = elements[i].clone(true);
}
Expand Down

0 comments on commit 5b8bcd9

Please sign in to comment.