Skip to content

Commit 27a668d

Browse files
author
lauren mccarthy
committed
Merge branch 'master' of github.com:lmccart/p5.js
2 parents ee37399 + 85acfbe commit 27a668d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/input/files.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ define(function (require) {
3131
/**
3232
* Loads a JSON file from a file or a URL, and returns an Object or Array.
3333
* This method is asynchronous, meaning it may not finish before the next
34-
* line in your sketch is executed, either use preload() to guarantee the
34+
* line in your sketch is executed. Either use preload() to guarantee the
3535
* file loads before setup() and draw() are called, or supply a callback
3636
* function that is executed when loadStrings() completes.
3737
*
@@ -69,7 +69,7 @@ define(function (require) {
6969
* URL for a file found on a network.
7070
*
7171
* This method is asynchronous, meaning it may not finish before the next
72-
* line in your sketch is executed, either use preload() to guarantee the
72+
* line in your sketch is executed. Either use preload() to guarantee the
7373
* file loads before setup() and draw() are called, or supply a callback
7474
* function that is executed when loadStrings() completes.
7575
*
@@ -143,6 +143,11 @@ define(function (require) {
143143
*
144144
* <p> All files loaded and saved use UTF-8 encoding.</p>
145145
*
146+
* <p>This method is asynchronous, meaning it may not finish before the next
147+
* line in your sketch is executed. Either use preload() to guarantee the
148+
* file loads before setup() and draw() are called, or supply a callback
149+
* function that is executed when loadTable() completes.</p>
150+
*
146151
* @method loadTable
147152
* @param {String} filename name of the file or URL to load
148153
* @param {String|Strings} [options] "header" "csv" "tsv"
@@ -239,7 +244,7 @@ define(function (require) {
239244
* URL for a file found on a network.
240245
*
241246
* This method is asynchronous, meaning it may not finish before the next
242-
* line in your sketch is executed, either use preload() to guarantee the
247+
* line in your sketch is executed. Either use preload() to guarantee the
243248
* file loads before setup() and draw() are called, or supply a callback
244249
* function that is executed when loadXML() completes.
245250
*

0 commit comments

Comments
 (0)