p5.js-editor icon indicating copy to clipboard operation
p5.js-editor copied to clipboard

save() function doesn't save files properly

Open inkwellsiesta opened this issue 9 years ago • 0 comments

  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

inkwellsiesta avatar Feb 09 '16 23:02 inkwellsiesta