Skip to content

Support for plugin static files #304

Closed
@enginoid

Description

@enginoid

I'm working on a plugin that tracks HTTP requests done with the requests library. For a better user experience, I will have to write some plugin-specific JavaScript code.

I tried adding some inline code to do this (although I don't think that's optimal in the longer term and it won't allow me to bundle icons.) However, it seems that I can't interface with jQuery from my panel template ($ and jQuery aren't available in the namespace).

Is there a way to interface with jQuery and bundle custom scripts with the code as it stands? If not, perhaps we could devise an extension mechanism allowing plugins to carry their own static files. Have you thought about this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions