Skip to content

Commit 3fff3f6

Browse files
author
Lauren McCarthy
committed
undoing bracket change, didnt work
1 parent 5c4dbd0 commit 3fff3f6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/yuidoc-p5-theme-src/scripts/tpl/item.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ <h4>Description</h4>
2929
<% } %>
3030
</div>
3131

32-
3332
<div>
3433
<h4>Syntax</h4>
3534
<p>
@@ -116,7 +115,7 @@ <h4>Parameters</h4>
116115
<td>
117116
<% var p = item.params[i] %>
118117
<% if (p.optional) { %>
119-
<code class="language-javascript param-optional"><%=p.name%></code>
118+
<code class="language-javascript"><%=p.name%></code>
120119
<% } else { %>
121120
<code class="language-javascript"><%=p.name%></code>
122121
<% } %>

src/core/p5.Element.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ p5.Element.prototype.parent = function(p) {
102102
* @param {String} [id] ID of the element
103103
* @return {p5.Element|String}
104104
* @example
105-
* <div><code class='norender'>
105+
* <div class='norender'><code>
106106
* function setup() {
107107
* var cnv = createCanvas(100, 100);
108108
* // Assigns a CSS selector ID to
@@ -318,8 +318,8 @@ p5.Element.prototype.mouseReleased = function (fxn) {
318318
* clicked over the element.
319319
* @return {p5.Element}
320320
* @example
321-
* <div>
322-
* <code class="norender">
321+
* <div class="norender">
322+
* <code>
323323
* var cnv;
324324
* var d;
325325
* var g;

0 commit comments

Comments
 (0)