Skip to content

Bad example for Node Lists #47

@janhancic

Description

@janhancic

In Node Lists you have this example:

model.addNodeList('nodes');
model.nodes.addHandler([], ['name'], function(input, output) {
    output.name = 'node #' + (index + 1);
});

Which is wrong for two reasons:

  • does not have an input
  • uses the now-gone index param

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