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.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
/* no-babel-preset */
|
/* no-babel-preset */
|
||||||
/* eslint-disable no-var */
|
|
||||||
|
|
||||||
import { getArrayLookupTableFactory } from "./core_utils.js";
|
import { getArrayLookupTableFactory } from "./core_utils.js";
|
||||||
|
|
||||||
var getGlyphsUnicode = getArrayLookupTableFactory(function () {
|
const getGlyphsUnicode = getArrayLookupTableFactory(function () {
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
return [
|
return [
|
||||||
"A", 0x0041,
|
"A", 0x0041,
|
||||||
@ -4347,7 +4346,7 @@ var getGlyphsUnicode = getArrayLookupTableFactory(function () {
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
var getDingbatsGlyphsUnicode = getArrayLookupTableFactory(function () {
|
const getDingbatsGlyphsUnicode = getArrayLookupTableFactory(function () {
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
return [
|
return [
|
||||||
"space", 0x0020,
|
"space", 0x0020,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user