mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-04-01 17:39:30 +08:00
dot notation
This commit is contained in:
@@ -126,7 +126,7 @@ var ReactFireMixin = {
|
||||
for (var key in obj) {
|
||||
if (obj.hasOwnProperty(key)) {
|
||||
var item = obj[key];
|
||||
item["$id"] = key;
|
||||
item.$id = key;
|
||||
out.push(item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user