|
2244 | 2244 | /** |
2245 | 2245 | * Allow the result from a type detection function to be `true` while |
2246 | 2246 | * translating that into a string. Old type detection functions will |
2247 | | - * return the type name if it passes. An obect store would be better, |
| 2247 | + * return the type name if it passes. An object store would be better, |
2248 | 2248 | * but not backwards compatible. |
2249 | 2249 | * |
2250 | 2250 | * @param {*} typeDetect Object or function for type detection |
|
5772 | 5772 | masterMap[master[i]] = i; |
5773 | 5773 | } |
5774 | 5774 |
|
5775 | | - // And then cache what would be the indexOf fom the display |
| 5775 | + // And then cache what would be the indexOf from the display |
5776 | 5776 | for (i=0 ; i<display.length ; i++) { |
5777 | 5777 | map[display[i]] = masterMap[display[i]]; |
5778 | 5778 | } |
|
7169 | 7169 | } ); |
7170 | 7170 |
|
7171 | 7171 |
|
7172 | | - function _api_scope( scope, fn, struc ) { |
| 7172 | + function _api_scope( scope, fn, struct ) { |
7173 | 7173 | return function () { |
7174 | 7174 | var ret = fn.apply( scope || this, arguments ); |
7175 | 7175 |
|
7176 | 7176 | // Method extension |
7177 | | - _Api.extend( ret, ret, struc.methodExt ); |
| 7177 | + _Api.extend( ret, ret, struct.methodExt ); |
7178 | 7178 | return ret; |
7179 | 7179 | }; |
7180 | 7180 | } |
@@ -10566,13 +10566,13 @@ |
10566 | 10566 | "bFilter": true, |
10567 | 10567 |
|
10568 | 10568 | /** |
10569 | | - * Used only for compatiblity with DT1 |
| 10569 | + * Used only for compatibility with DT1 |
10570 | 10570 | * @deprecated |
10571 | 10571 | */ |
10572 | 10572 | "bInfo": true, |
10573 | 10573 |
|
10574 | 10574 | /** |
10575 | | - * Used only for compatiblity with DT1 |
| 10575 | + * Used only for compatibility with DT1 |
10576 | 10576 | * @deprecated |
10577 | 10577 | */ |
10578 | 10578 | "bLengthChange": true, |
@@ -11509,13 +11509,13 @@ |
11509 | 11509 | "bFilter": null, |
11510 | 11510 |
|
11511 | 11511 | /** |
11512 | | - * Used only for compatiblity with DT1 |
| 11512 | + * Used only for compatibility with DT1 |
11513 | 11513 | * @deprecated |
11514 | 11514 | */ |
11515 | 11515 | "bInfo": true, |
11516 | 11516 |
|
11517 | 11517 | /** |
11518 | | - * Used only for compatiblity with DT1 |
| 11518 | + * Used only for compatibility with DT1 |
11519 | 11519 | * @deprecated |
11520 | 11520 | */ |
11521 | 11521 | "bLengthChange": true, |
|
12377 | 12377 | }, |
12378 | 12378 | order: { |
12379 | 12379 | pre: function (d) { |
12380 | | - // The renderer gives us Moment, Luxon or Date obects for the sorting, all of which have a |
| 12380 | + // The renderer gives us Moment, Luxon or Date objects for the sorting, all of which have a |
12381 | 12381 | // `valueOf` which gives milliseconds epoch |
12382 | 12382 | return d.valueOf(); |
12383 | 12383 | } |
|
13054 | 13054 | ); |
13055 | 13055 | } |
13056 | 13056 |
|
13057 | | - // Find the first visible column that has ordering applied to it - it get's |
| 13057 | + // Find the first visible column that has ordering applied to it - it gets |
13058 | 13058 | // the aria information, as the ARIA spec says that only one column should |
13059 | 13059 | // be marked with aria-sort |
13060 | 13060 | var firstVis = -1; // column index |
|
13311 | 13311 | opts.text = _fnMacros(settings, opts.text); |
13312 | 13312 |
|
13313 | 13313 | // We can put the <input> outside of the label if it is at the start or end |
13314 | | - // which helps improve accessability (not all screen readers like implicit |
| 13314 | + // which helps improve accessibility (not all screen readers like implicit |
13315 | 13315 | // for elements). |
13316 | 13316 | var end = opts.text.match(/_INPUT_$/); |
13317 | 13317 | var start = opts.text.match(/^_INPUT_/); |
|
13742 | 13742 | } |
13743 | 13743 |
|
13744 | 13744 | // We can put the <select> outside of the label if it is at the start or |
13745 | | - // end which helps improve accessability (not all screen readers like |
| 13745 | + // end which helps improve accessibility (not all screen readers like |
13746 | 13746 | // implicit for elements). |
13747 | 13747 | var end = opts.text.match(/_MENU_$/); |
13748 | 13748 | var start = opts.text.match(/^_MENU_/); |
|
0 commit comments