Jonas Jenwald
|
96d2a2f795
|
Enable the ESLint no-var rule in the external/ folder
These changes were done automatically, by using the `gulp lint --fix` command.
|
2021-03-14 11:43:25 +01:00 |
|
Jonas Jenwald
|
98e658ddf0
|
Enable linting of the external/cmapscompress/ folder
Given that this our "own" code, there's no good reason as far as I'm concerned to not lint it.
|
2021-03-13 19:32:58 +01:00 |
|
Jonas Jenwald
|
b9f4d89254
|
Fix *most* linting/formatting issues in the external/cmapscompress/ folder
These changes were done automatically, by using the `gulp lint --fix` command, in preparation for the next patch.
|
2021-03-13 19:24:23 +01:00 |
|
Jonas Jenwald
|
842e9206c0
|
Replace String.prototype.substr() occurrences with String.prototype.substring()
As outlined in https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr, which refers to the ECMA-262 specification, using the `substr` function is advised against.
Hence this PR, which replaces all remaining `substr` occurrences with `substring` instead. Please refer to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr#Syntax respectively https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substring#Syntax for the differences between the two functions.
Note that in most cases in the code-base there's only one argument passed to `substr`, and those require no other changes except replacing "substr" with "substring". For the other cases, the `substr(start, length)` calls are changed to `substring(start, start + length)` instead.
|
2018-09-28 11:41:07 +02:00 |
|
Wojciech Maj
|
ea2850e9a7
|
Fix typos
|
2018-04-01 23:20:41 +02:00 |
|
Yury Delendik
|
1d8f6cf0e7
|
Updates make.js for cmaps and make binary cmaps by default
|
2014-03-17 13:30:43 -05:00 |
|
Yury Delendik
|
3e8ea958ae
|
Quick notes about the format
|
2014-03-14 16:59:40 -05:00 |
|
Yury Delendik
|
69efd9cb96
|
CMaps binary packing
|
2014-03-14 16:46:35 -05:00 |
|