fix(view): fixed hydrator to pass the right element index when attaching an event listener

This commit is contained in:
vsavkin
2015-04-17 16:08:59 -07:00
parent 00e2d70f05
commit 4943c0f887
7 changed files with 121 additions and 37 deletions
+3 -1
View File
@@ -77,7 +77,9 @@ class StringMapWrapper {
}
static Map merge(Map a, Map b) {
var m = new Map.from(a);
b.forEach((k, v) => m[k] = v);
if (b != null) {
b.forEach((k, v) => m[k] = v);
}
return m;
}
static bool isEmpty(Map m) => m.isEmpty;