Skip to content

reference example use // data, bad for copy #748

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kllsamui opened this issue Apr 12, 2019 · 1 comment
Closed

reference example use // data, bad for copy #748

kllsamui opened this issue Apr 12, 2019 · 1 comment

Comments

@kllsamui
Copy link

kllsamui commented Apr 12, 2019

Issue description

in the reference example the
proposed data/data.json file
is printed as
//
// data
//

instead use
/*
data file content
*/
so there is a copy paste issue.

URL(s) of affected page(s)

in
https://github.com/processing/processing-docs/blob/master/content/api_en/loadJSONArray.xml
make
https://processing.org/reference/loadJSONArray_.html

Proposed fix

try
/*
data
*/

see also

https://discourse.processing.org/t/problem-with-loadjsonarray-example/10207/2

@REAS
Copy link
Member

REAS commented Jul 26, 2019

OK, that's fixed up.

@REAS REAS closed this as completed Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants