Skip to content

Commit 4816fce

Browse files
committed
Merge pull request #3514 from waywardmonkeys/fix-typos
Fix a couple of comment typos.
2 parents e12d23b + e475bd2 commit 4816fce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/library_pthread.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ var LibraryPThread = {
121121
if (pthread.worker) pthread.worker.pthread = null;
122122
},
123123

124-
// Allocates a the given amount of new web workers and stores them in the pool of unused workers.
124+
// Allocates the given amount of new web workers and stores them in the pool of unused workers.
125125
// onFinishedLoading: A callback function that will be called once all of the workers have been initialized and are
126126
// ready to host pthreads. Optional. This is used to mitigate bug https://bugzilla.mozilla.org/show_bug.cgi?id=1049079
127127
allocateUnusedWorkers: function(numWorkers, onFinishedLoading) {

src/preamble.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ function stringToAscii(str, outPtr) {
497497
}
498498
Module['stringToAscii'] = stringToAscii;
499499

500-
// Given a pointer 'ptr' to a null-terminated UTF8-encoded string in the a given array that contains uint8 values, returns
500+
// Given a pointer 'ptr' to a null-terminated UTF8-encoded string in the given array that contains uint8 values, returns
501501
// a copy of that string as a Javascript String object.
502502

503503
function UTF8ArrayToString(u8Array, idx) {

0 commit comments

Comments
 (0)