Skip to content

[Bug Report]: v1.0.4 has shared state issue. #6

Closed
@MarketingPip

Description

@MarketingPip

This current version has a shared state issue - which went un-noticed to my own self error in not properly testing the library before publishing it.

In the case's where more than <code-runnner> is included the dom. The value from the last included web component is being used to be sent to the API.

This is due to not properly grabbing the values of the Ace Editor API - as far as I do believe.

Steps to reproduce the behavior:

  1. Go to demo page.
  2. Add console.log('test') into "Undefined Code".
  3. Press run on both displayed components.

Previous versions of this web component do NOT have this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions