fjenett / coffeescript-mode-processing

CoffeeScript mode for Processing 2.0
52 stars 2 forks source link

saveFrame() not working? #21

Open jperals opened 10 years ago

jperals commented 10 years ago

When calling saveFrame(), I get an error message from Processing.js saying "Processing.js does not support open()."

Apparently, saveFrame() calls save(), which attempts to open a new browser tab (or window) with the JavaScript function window.open(). My guess is that Processing.js thinks that the programmer meant to use Processing's open() function, which is not implemented and thus fires an error message.

When using Processing.js, either with Processing or with Javascript syntax, this doesn't seem to happen.

fjenett commented 10 years ago

Have to research what is going on ...