convert to function

This commit is contained in:
2025-09-19 15:23:40 +02:00
parent 925187e294
commit d51c7ac5ae
2 changed files with 7 additions and 7 deletions

View File

@@ -70,7 +70,7 @@ function createElementFromHTML(html) {
return el.firstChild
}
const getWritableItems = function (callback) {
function getWritableItems(callback) {
return [
{
type: 'custom',
@@ -107,7 +107,7 @@ const getWritableItems = function (callback) {
];
}
const getReadOnlyItems = function (callback) {
function getReadOnlyItems(callback) {
return [
{
type: 'custom',
@@ -125,7 +125,7 @@ const getReadOnlyItems = function (callback) {
];
}
const getMobileWritableItems = function (callback) {
function getMobileWritableItems(callback) {
return [
{
type: 'custom',