Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions docs/yuidoc-p5-theme/assets/js/reference.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/yuidoc-p5-theme/assets/js/reference.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/image/p5.Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ p5.Image = class {
* // Display the image.
* image(img, 17, 17);
*
* describe('A square with a horiztonal color gradient from black to white drawn on a gray background.');
* describe('A square with a horizontal color gradient from black to white drawn on a gray background.');
* }
* </code>
* </div>
Expand Down
2 changes: 1 addition & 1 deletion src/image/pixels.js
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ p5.prototype.loadPixels = function(...args) {
* // Update the canvas.
* updatePixels();
*
* describe('A horiztonal color gradient from black to white.');
* describe('A horizontal color gradient from black to white.');
* }
* </code>
* </div>
Expand Down
4 changes: 2 additions & 2 deletions src/io/p5.Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ p5.Table = class {
*
* function preload() {
* // table is comma separated value "CSV"
* // and has specifiying header for column labels
* // and has specifying header for column labels
* table = loadTable('assets/mammals.csv', 'csv', 'header');
* }
*
Expand Down Expand Up @@ -1303,7 +1303,7 @@ p5.Table = class {
*
* function preload() {
* // table is comma separated value "CSV"
* // and has specifiying header for column labels
* // and has specifying header for column labels
* table = loadTable('assets/mammals.csv', 'csv', 'header');
* }
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function draw() {
//drawEllipseCanvas();
}

// Addtional drawing functions.
// Additional drawing functions.
function drawEllipseCanvas() {
background(120, 180, 200);
ellipse(width / 2, height / 2, 100, 100);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function draw() {
drawRectCanvas();
}

// Addtional drawing functions.
// Additional drawing functions.
function drawEllipseCanvas() {
background(120, 180, 200);
ellipse(width / 2, height / 2, 100, 100);
Expand Down
4 changes: 2 additions & 2 deletions test/unit/assets/books.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<genre>Science Fiction</genre>
<price>6.95</price>
<publish_date>2000-11-02</publish_date>
<description>After an inadvertant trip through a Heisenberg
<description>After an inadvertent trip through a Heisenberg
Uncertainty Device, James Salway discovers the problems
of being quantum.</description>
</book>
Expand Down Expand Up @@ -117,4 +117,4 @@
integrated into a comprehensive development
environment.</description>
</book>
</catalog>
</catalog>
8 changes: 4 additions & 4 deletions test/unit/core/error_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ suite('Error Helpers', function() {

suite('validateParameters: argument tree', function() {
// should not throw a validation error for the same kind of wrong args
// more than once. This prevents repetetive validation logs for a
// more than once. This prevents repetitive validation logs for a
// function that is called in a loop or draw()
testUnMinified(
'no repeated validation error for the same wrong arguments',
Expand Down Expand Up @@ -440,7 +440,7 @@ suite('Error Helpers', function() {
}
);

testUnMinified('detects spelling + captialization mistakes', function() {
testUnMinified('detects spelling + capitalization mistakes', function() {
const logMsg = help(new ReferenceError('RandomGossian is not defined'));
assert.match(
logMsg,
Expand Down Expand Up @@ -566,7 +566,7 @@ suite('Global Error Handling', function() {
return iframe;
};

testUnMinified('identifies errors happenning internally', function() {
testUnMinified('identifies errors happening internally', function() {
return new Promise(function(resolve) {
// quite an unusual way to test, but the error listener doesn't work
// under mocha. Also the stacktrace gets filled with mocha internal
Expand All @@ -590,7 +590,7 @@ suite('Global Error Handling', function() {
});

testUnMinified(
'identifies errors happenning internally in ES6 classes',
'identifies errors happening internally in ES6 classes',
function() {
return new Promise(function(resolve) {
prepSyntaxTest(
Expand Down