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",
"android/build",
"android/.idea",
"ios/.idea",
"android/.gradle",
"android/gradle",
".idea"

View File

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