Skip to content

Old code using inline methods #121

Description

@rksm

Inline methods in code like

  createLabels(keys, values, tooltips = {}) {
    return arr.zip(keys, values).map(([name, value]) => {
      return {
        type: "label",
        value: name,
        onMouseDown: () => { this.update(name, value); }
      };
    });
  }

are not supported and will break serialization and synchronization. For instance specific behavior please consider using connect from a parent object that has a class or use object behavior defined via the object editor.

Code that still relies on that (style halos etc.) will be removed.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions