processing / p5.js-editor

Deprecated desktop editor for p5.js
https://p5js.org
MIT License
338 stars 91 forks source link

save() function doesn't save files properly #210

Open inkwellsiesta opened 8 years ago

inkwellsiesta commented 8 years ago
  save(["Hello this is a test"], "stringTest.txt")

When the "Run In Browser" option is selected, a file like stringTest.txt is saved in the browser's default Downloads folder.

When the "Run In Browser" option is not selected, a file like stringTest.bad.txt is written to the same folder as sketch.js stringTest.txt stringTest.bad.txt