Skip to content

Refactor the plugin to use the lexical variable mixin from App Inventor #45

@mark-friedman

Description

@mark-friedman
  • Remove the mixin defined methods from each block.
  • Add the methods required by the mixin to each block.
  • Mix the mixin into each block. Test the result.
  • For each block.foo(...) method defined in the mixin create a new foo(block, ...) function.
  • Change the code in field_lexical_variable.js (and any other code) that calls a block.foo(...) method defined in the mixin to call the new foo(block, ...) function instead. Test the result.
  • Remove the mixin

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlexical variablesUse this tag for the lexical variable plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions