Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/draft-js/lib/createCharacterList.js.flow
Назад
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict-local * @emails oncall+draft_js */ 'use strict'; import type { DraftInlineStyle } from "./DraftInlineStyle"; const CharacterMetadata = require("./CharacterMetadata"); const Immutable = require("immutable"); const { List } = Immutable; function createCharacterList(inlineStyles: Array<DraftInlineStyle>, entities: Array<?string>): List<CharacterMetadata> { const characterArray = inlineStyles.map((style, ii) => { const entity = entities[ii]; return CharacterMetadata.create({ style, entity }); }); return List(characterArray); } module.exports = createCharacterList;
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка