Fix a couple of comment typos.

This commit is contained in:
Bruce Mitchener 2015-06-04 21:40:16 +07:00
Родитель 92094e41a6
Коммит e475bd2390
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

@ -497,7 +497,7 @@ function stringToAscii(str, outPtr) {
}
Module['stringToAscii'] = stringToAscii;
// Given a pointer 'ptr' to a null-terminated UTF8-encoded string in the a given array that contains uint8 values, returns
// Given a pointer 'ptr' to a null-terminated UTF8-encoded string in the given array that contains uint8 values, returns
// a copy of that string as a Javascript String object.
function UTF8ArrayToString(u8Array, idx) {