Skip to content

Commit c3a95db

Browse files
committed
tweaking save() documentation
1 parent f23a33e commit c3a95db

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/output/files.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,10 @@ define(function (require) {
147147
* indicates the filename,
148148
* and should include an appropriate
149149
* file extension (see examples above).
150-
* @param {[Boolean]} options Additional options depend on filetype. For
151-
* example, when saving JSON, true indicates that
152-
* the output will be optimized for filesize,
150+
* @param {[Boolean/String]} options Additional options depend on
151+
* filetype. For example, when saving JSON,
152+
* <code>true</code> indicates that the
153+
* output will be optimized for filesize,
153154
* rather than readability.
154155
*/
155156
p5.prototype.save = function(object, _filename, _options) {

0 commit comments

Comments
 (0)