Skip to content

Question: How can I grab all the code client-side for P5 Live? #3233

Open
@TiborUdvari

Description

@TiborUdvari

Increasing Access

Unsure

Feature enhancement details

I'm working on a bookmarklet to make copying code over to P5 Live easier. The tricky part is that P5 Live loads everything into one file, with a special syntax for loading libraries. I’m wondering if there’s a way, using just vanilla JS, to grab all the code as a string from index.html, sketch.js, and any other files on the client side, assuming the user is already logged in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementImprovement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions