Skip to content

Several extensions use the .toString() function over the Scratch.Cast variant. #1985

@NexusKitten

Description

@NexusKitten

Related to #1810.

Several extensions (especially those that predate the Cast API) utilize the JavaScript .toString function, when it's better practice to use Scratch.Cast.toString. Not sure if it'd cause any incompatibility to swap them out, hence why I'm not doing this myself.

The following extensions use .toString() over the Cast variant with no apparent upside.

  • RixxyX
  • Text
  • Utilities
  • Gamepad
  • Skyhigh173 / BigInt
  • -SIPC- / Time
  • NOname-awa / Regular Expression
  • Turboloader / AudioStream
  • obviousAlexC / SensingPlus
  • qxsck / Var and List
  • Medericoder / TextCase
  • ZXMushroom63 / searchAPI

The following extensions use .toString() in advanced cases where it may break things to use Cast.

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