Skip to content
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

Add example for p5.Table.getArray() #2692

Merged
merged 4 commits into from
Mar 12, 2018
Merged

Conversation

seagalputra
Copy link
Contributor

Hi, all
This is my first contribution in here.
Recently, i read an issue here #1954. So, i add a simple code for method getArray()
Thank you

@@ -1213,6 +1213,32 @@ p5.Table.prototype.getObject = function(headerColumn) {
*
* @method getArray
* @return {Array}
* @example
* <div class="no render">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There shouldn't be a space between "no" and "render" otherwise they are actually two classes .no and .render instead of one class .norender.

@@ -1107,7 +1107,7 @@ p5.Table.prototype.getNum = function(row, column) {
* @return {String}
*
* @example
* <div class="norender">
* <div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the norender class is not present, the sketch will still create a canvas but it would be empty in this particular case since nothing will be drawn on screen. Can be a bit confusing I think since most people won't have the console opened all the time.

@limzykenneth
Copy link
Member

Thanks! Left a couple of comments, do have a look.

@seagalputra
Copy link
Contributor Author

seagalputra commented Mar 12, 2018

@limzykenneth thanks for your correction. I already fix it

@lmccart lmccart merged commit 4c2f42b into processing:master Mar 12, 2018
@lmccart
Copy link
Member

lmccart commented Mar 12, 2018

thanks @seagalputra and @limzykenneth!

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

Successfully merging this pull request may close these issues.

3 participants