Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit 0c419b0

Browse files
author
Shaun Case
committed
Fix spelling mistakes/typos found by CodeSpell 2.1.0
1 parent 1363486 commit 0c419b0

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

js/jquery.fileupload-process.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
options.processQueue = processQueue;
121121
},
122122

123-
// Returns the number of files currently in the processsing queue:
123+
// Returns the number of files currently in the processing queue:
124124
processing: function () {
125125
return this._processing;
126126
},

js/jquery.fileupload-validate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
*/
5858

5959
// Function returning the current number of files,
60-
// has to be overriden for maxNumberOfFiles validation:
60+
// has to be overridden for maxNumberOfFiles validation:
6161
getNumberOfFiles: $.noop,
6262

6363
// Error and info messages:

js/jquery.fileupload.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
_initProgressListener: function (options) {
456456
var that = this,
457457
xhr = options.xhr ? options.xhr() : $.ajaxSettings.xhr();
458-
// Accesss to the native XHR object is required to add event listeners
458+
// Access to the native XHR object is required to add event listeners
459459
// for the upload progress event:
460460
if (xhr.upload) {
461461
$(xhr.upload).on('progress', function (e) {
@@ -1172,7 +1172,7 @@
11721172
data.fileInputClone = inputClone;
11731173
$('<form></form>').append(inputClone)[0].reset();
11741174
// Detaching allows to insert the fileInput on another form
1175-
// without loosing the file input value:
1175+
// without losing the file input value:
11761176
input.after(inputClone).detach();
11771177
// If the fileInput had focus before it was detached,
11781178
// restore focus to the inputClone.

test/vendor/chai.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ module.exports = {
305305
*
306306
* Set it to zero if you want to disable truncating altogether.
307307
*
308-
* This is especially userful when doing assertions on arrays: having this
308+
* This is especially useful when doing assertions on arrays: having this
309309
* set to a reasonable large value makes the failure messages readily
310310
* inspectable.
311311
*

test/vendor/mocha.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ Mocha.prototype.global = function(global) {
19801980
});
19811981
return this;
19821982
};
1983-
// for backwards compability, 'globals' is an alias of 'global'
1983+
// for backwards compatibility, 'globals' is an alias of 'global'
19841984
Mocha.prototype.globals = Mocha.prototype.global;
19851985

19861986
/**
@@ -2170,7 +2170,7 @@ Mocha.prototype.enableTimeouts = function(enableTimeouts) {
21702170
*
21712171
* @public
21722172
* @see [CLI option](../#-async-only-a)
2173-
* @param {boolean} [asyncOnly=true] - Wether to force `done` callback or promise.
2173+
* @param {boolean} [asyncOnly=true] - Whether to force `done` callback or promise.
21742174
* @return {Mocha} this
21752175
* @chainable
21762176
*/
@@ -8677,7 +8677,7 @@ function alloc (size, fill, encoding) {
86778677
if (fill !== undefined) {
86788678
// Only pay attention to encoding if it's a string. This
86798679
// prevents accidentally sending in a number that would
8680-
// be interpretted as a start offset.
8680+
// be interpreted as a start offset.
86818681
return typeof encoding === 'string'
86828682
? createBuffer(size).fill(fill, encoding)
86838683
: createBuffer(size).fill(fill)
@@ -8969,7 +8969,7 @@ function slowToString (encoding, start, end) {
89698969
return ''
89708970
}
89718971

8972-
// Force coersion to uint32. This will also coerce falsey/NaN values to 0.
8972+
// Force coercion to uint32. This will also coerce falsey/NaN values to 0.
89738973
end >>>= 0
89748974
start >>>= 0
89758975

@@ -14499,7 +14499,7 @@ function defaultClearTimeout () {
1449914499
} ())
1450014500
function runTimeout(fun) {
1450114501
if (cachedSetTimeout === setTimeout) {
14502-
//normal enviroments in sane situations
14502+
//normal environments in sane situations
1450314503
return setTimeout(fun, 0);
1450414504
}
1450514505
// if setTimeout wasn't available but was latter defined
@@ -14508,14 +14508,14 @@ function runTimeout(fun) {
1450814508
return setTimeout(fun, 0);
1450914509
}
1451014510
try {
14511-
// when when somebody has screwed with setTimeout but no I.E. maddness
14511+
// when when somebody has screwed with setTimeout but no I.E. madness
1451214512
return cachedSetTimeout(fun, 0);
1451314513
} catch(e){
1451414514
try {
1451514515
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
1451614516
return cachedSetTimeout.call(null, fun, 0);
1451714517
} catch(e){
14518-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
14518+
// same as above but when it's a version of I.E. that must have the global object for 'this', hopefully our context correct otherwise it will throw a global error
1451914519
return cachedSetTimeout.call(this, fun, 0);
1452014520
}
1452114521
}
@@ -14524,7 +14524,7 @@ function runTimeout(fun) {
1452414524
}
1452514525
function runClearTimeout(marker) {
1452614526
if (cachedClearTimeout === clearTimeout) {
14527-
//normal enviroments in sane situations
14527+
//normal environments in sane situations
1452814528
return clearTimeout(marker);
1452914529
}
1453014530
// if clearTimeout wasn't available but was latter defined
@@ -14533,14 +14533,14 @@ function runClearTimeout(marker) {
1453314533
return clearTimeout(marker);
1453414534
}
1453514535
try {
14536-
// when when somebody has screwed with setTimeout but no I.E. maddness
14536+
// when when somebody has screwed with setTimeout but no I.E. madness
1453714537
return cachedClearTimeout(marker);
1453814538
} catch (e){
1453914539
try {
1454014540
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
1454114541
return cachedClearTimeout.call(null, marker);
1454214542
} catch (e){
14543-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
14543+
// same as above but when it's a version of I.E. that must have the global object for 'this', hopefully our context correct otherwise it will throw a global error.
1454414544
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
1454514545
return cachedClearTimeout.call(this, marker);
1454614546
}
@@ -14606,7 +14606,7 @@ process.nextTick = function (fun) {
1460614606
}
1460714607
};
1460814608

14609-
// v8 likes predictible objects
14609+
// v8 likes predictable objects
1461014610
function Item(fun, array) {
1461114611
this.fun = fun;
1461214612
this.array = array;
@@ -17697,7 +17697,7 @@ exports.debuglog = function(set) {
1769717697

1769817698

1769917699
/**
17700-
* Echos the value of a value. Trys to print the value out
17700+
* Echos the value of a value. Tries to print the value out
1770117701
* in the best way possible given the different types.
1770217702
*
1770317703
* @param {Object} obj The object to print out.

0 commit comments

Comments
 (0)