2
0
mirror of synced 2025-01-15 00:46:53 +00:00

js: snapshot class incorrectly defining 'exists' as a bool prop, instead of a function

This commit is contained in:
Salakar 2017-03-09 15:27:49 +00:00
parent 05a35b7b82
commit e48e5c290e
2 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,7 @@
"node_modules", "node_modules",
"android/build", "android/build",
"android/.idea", "android/.idea",
"ios/.idea",
"android/.gradle", "android/.gradle",
"android/gradle", "android/gradle",
".idea" ".idea"

View File

@ -22,7 +22,6 @@ export default class Snapshot {
this.ref = ref; this.ref = ref;
this.key = snapshot.key; this.key = snapshot.key;
this.value = snapshot.value; this.value = snapshot.value;
this.exists = snapshot.exists || true;
this.priority = snapshot.priority === undefined ? null : snapshot.priority; this.priority = snapshot.priority === undefined ? null : snapshot.priority;
this.childKeys = snapshot.childKeys || []; this.childKeys = snapshot.childKeys || [];
} }