processing / processing/p5.js-web-editor

Externally hosted files UI

Open
#196 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Priority:High
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

I'm not able to upload JS libraries at the moment. This has worked for me in the past. I've tried with RiTa.js and JQuery. The weird thing is that if I upload my own JS file it seems to not have an issue. Here's an example where I uploaded bothparticle.js and jquery-3.1.1.min.js.

http://alpha.editor.p5js.org/projects/S1lPBnXZx

JQuery is not recognized but Particle is.

One clue is I can't view the contents of the jquery file in the editor. However, when I download the project as a zip it is, in fact, there.

cc @aparrish

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the problem in the linked alpha editor project using particle.js, jquery-3.1.1.min.js, and RiTa.js, then compare the externally hosted files with the uploaded project file. Done means externally hosted JavaScript libraries are recognized, their contents can be viewed in the editor, and the downloaded project remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.