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

fix typos #1329

Merged
merged 1 commit into from
Sep 23, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions src/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,7 @@ SyntaxElementMorph.prototype.labelPart = function (spec) {
case 'read-only':
part.isReadOnly = true;
if (!MorphicPreferences.isFlat) {
// addjust initial dimensions
// adjust initial dimensions
cnts = part.contents();
cnts.shadowOffset = new Point(1, 1);
cnts.fixLayout();
Expand Down Expand Up @@ -3633,7 +3633,7 @@ BlockMorph.prototype.restoreInputs = function (oldInputs, offset = 0) {

// 1.
// both blocks have exactly one variadic slot, with the same slot spec but
// different infixes, and not nessesarily matching numbers of expanded
// different infixes, and not necessarily matching numbers of expanded
// slots.
if (oldInputs.length === 1 &&
(inputs.length === 1) &&
Expand Down
6 changes: 3 additions & 3 deletions src/lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,17 +415,17 @@ List.prototype.slice = function (indices) {
//
// slicing spec:
// positive integers represent single indices,
// negative integes and zero represent slices starting at the
// negative integers and zero represent slices starting at the
// index following the last specified positive integer up to / down to
// my length offset by the negative / zero integer
//
// Currently unused and NOT part of the ITEM OF primitivie in
// Currently unused and NOT part of the ITEM OF primitive in
// production Snap, because negative indices are used in exercises and
// curriculum activities relying on them returning zero / empty values
// rather than wrapped ones, e.g. when creating a "reverb" or "echo"
// effect from sound samples.
//
// to be revisited in the future, perhaps as seperate primitive.
// to be revisited in the future, perhaps as separate primitive.
// -Jens

var first, select;
Expand Down