Skip to content

Commit

Permalink
Merge f098f7c into e3bbf46
Browse files Browse the repository at this point in the history
  • Loading branch information
puf committed Apr 26, 2015
2 parents e3bbf46 + f098f7c commit ab06b4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/reactfire.js
Expand Up @@ -125,7 +125,9 @@ var ReactFireMixin = {
else if (typeof(obj) === "object") {
for (var key in obj) {
if (obj.hasOwnProperty(key)) {
out.push(obj[key]);
var item = obj[key];
item.$id = key;
out.push(item);
}
}
}
Expand Down

0 comments on commit ab06b4c

Please sign in to comment.