Skip to content

setPriority should trigger value listeners; #99

Description

@jamestalmage

Firebase behaves as follows

(This is from a REPL session in browser console, so time passes between each line)

var ref = new Firebase('url/to/string/value');
ref.set('hello');

ref.on('value', function(snap) { console.log(snap.exportVal());});
// => "hello" is logged to the console

ref.setPriority(100);
// => {'.value': 'hello', '.priority': 100} is logged to the console

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions