Skip to content

Commit

Permalink
Merge pull request #5394 from WayGuan/WayGuan/update-comments
Browse files Browse the repository at this point in the history
Update dom.js comments
  • Loading branch information
limzykenneth authored Aug 29, 2021
2 parents 54bd3b5 + ddb44a8 commit 5614135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dom/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -1746,8 +1746,8 @@ p5.Element.prototype.html = function() {
* <div><code class='norender'>
* function setup() {
* let cnv = createCanvas(100, 100);
* // positions canvas 50px to the right and 100px
* // below upper left corner of the window
* // positions canvas at upper left corner of the window
* // with a 'fixed' position type
* cnv.position(0, 0, 'fixed');
* }
* </code></div>
Expand Down

0 comments on commit 5614135

Please sign in to comment.