File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/landing/history/src/history-command.js
Back
import {Type} from 'main.core'; /** * Implements interface for works with command of history * @param {{id: string, undo: function, redo: function}} options */ export default class Command { constructor(options: {id: string, command: () => {}}) { this.id = Type.isStringFilled(options.id) ? options.id : '#invalidCommand'; this.command = Type.isFunction(options.command) ? options.command : (() => {}); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings