Enable the no-var
linting rule in src/core/glyphlist.js
This commit is contained in:
parent
e051d4d029
commit
ed33727419
@ -13,11 +13,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* no-babel-preset */
|
||||
/* eslint-disable no-var */
|
||||
|
||||
import { getArrayLookupTableFactory } from "./core_utils.js";
|
||||
|
||||
var getGlyphsUnicode = getArrayLookupTableFactory(function () {
|
||||
const getGlyphsUnicode = getArrayLookupTableFactory(function () {
|
||||
// prettier-ignore
|
||||
return [
|
||||
"A", 0x0041,
|
||||
@ -4347,7 +4346,7 @@ var getGlyphsUnicode = getArrayLookupTableFactory(function () {
|
||||
];
|
||||
});
|
||||
|
||||
var getDingbatsGlyphsUnicode = getArrayLookupTableFactory(function () {
|
||||
const getDingbatsGlyphsUnicode = getArrayLookupTableFactory(function () {
|
||||
// prettier-ignore
|
||||
return [
|
||||
"space", 0x0020,
|
||||
|
Loading…
x
Reference in New Issue
Block a user