Skip to content

kontrol: new signature for getKites() #12

@humanchimp

Description

@humanchimp

on the kite.js side, we're doing:

ok = k.tell('getKites', [query, changesHandler]);

I think we want to get rid of these positional parameters (or at least avoid them). I would like it if the signature changes to this:

ok = k.tell('getKites', [{ query, onChange }]);

And once we do koding/kite.js#2, we can remove the extra array wrapper:

ok = k.tell('getKites', { query, onChange });

I am open for suggestions, but for the time being I've chosen the name onChange. The name is not important to me, but I would like to move away from positional parameters.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions