fjenett / javascript-mode-processing

Former ProcessingJS mode (Processing 1.5) that became JavaScript mode (Processing 2.0 beta) that has now been moved out of the Processing IDE.
57 stars 13 forks source link

Use Processing.js v1.4.8. #17

Closed aengelke closed 9 years ago

fjenett commented 10 years ago

Yes. Thanks, will do.

teo1978 commented 9 years ago

Or even better https://github.com/fjenett/javascript-mode-processing/issues/20

GoToLoop commented 9 years ago

@teo1978 version 1.4.12 doesn't seem a stand-alone JS file! It doesn't work for JS Mode!

teo1978 commented 9 years ago

What do you mean it is not a standalone js file??

From the readme:

Getting Processing.js Simply grab the processing.js or processing.min.js files, include them as script on your webpage, and you're all set.

fjenett commented 9 years ago

Ech. Almost a year since i wrote that comment above … So sorry.

teo1978 commented 9 years ago

@GoToLoop I just tried replacing processing.js version 1.4.12 into the "template" folder of JavaScript mode, and I tried to export some random sketch and it works for me. I haven't tested any further than that, but could you elaborate a bit about what you mean when you say "It doesn't work for JS Mode"?

I do see a glitch, which is the output of print/println has broken style which makes it unreadable (light-gray text on slightly-less-light-gray background) but I don't know whether that's a bug in processing.js or in the html template in JavaScript mode.

GoToLoop commented 9 years ago

https://github.com/processing-js/processing-js/issues/153