Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
This repository was archived by the owner on May 19, 2025. It is now read-only.

Possible typo in firebase-document in the method __onFirebaseValue. #56

@kritollm

Description

@kritollm

I just can't understand these lines of code, and the this.new is always undefined:

if (!this.new) { this.async(function() { this.syncToMemory(function() { this._log('Updating data from Firebase value:', value); this.set('data', value); }); }); }

Should it may be:

if (!this.isNew) { this.async(function() { this.syncToMemory(function() { this._log('Updating data from Firebase value:', value); this.set('data', value); }); }); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions