Jonas Jenwald
|
819be0e78b
|
Fix the remaining ESLint operator-assignment errors
|
2021-07-04 15:23:56 +02:00 |
|
Jonas Jenwald
|
901b24e8af
|
Enable the ESLint operator-assignment rule
This patch was generated automatically, using the `gulp lint --fix` command.
Please find additional details about the ESLint rule at https://eslint.org/docs/rules/operator-assignment
|
2021-07-04 12:57:45 +02:00 |
|
Jonas Jenwald
|
8943bcd3c3
|
Account for formatting changes in Prettier version 2.3.0
With the exception of one tweaked `eslint-disable` comment, in `web/generic_scripting.js`, this patch was generated automatically using `gulp lint --fix`.
Please find additional information at:
- https://github.com/prettier/prettier/releases/tag/2.3.0
- https://prettier.io/blog/2021/05/09/2.3.0.html
|
2021-05-16 11:44:05 +02:00 |
|
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 |
|