Skip to content

Commit 0518a38

Browse files
author
Lauren McCarthy
committed
adding loading doc link closes #1803
1 parent f3fe518 commit 0518a38

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/core/core.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ var p5 = function(sketch, node, sync) {
5151
* asynchronous loading of external files. If a preload function is
5252
* defined, setup() will wait until any load calls within have finished.
5353
* Nothing besides load calls should be inside preload (loadImage,
54-
* loadJSON, loadFont, loadStrings, etc).
54+
* loadJSON, loadFont, loadStrings, etc).<br><br>
55+
* By default the text "loading..." will be displayed. To make your own
56+
* loading page, include an HTML element with id "p5_loading" in your
57+
* page. More information <a href="http://bit.ly/2kQ6Nio">here</a>.
5558
*
5659
* @method preload
5760
* @example

0 commit comments

Comments
 (0)