File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/location/core/src/repository/actionrunner.js
Back
export default class ActionRunner { #path = ''; constructor(props) { if(!props.path) { throw new Error('props.path must not be empty!'); } this.#path = props.path; } run(action, data) { if(!action) { throw new Error('action can not be empty!'); } return BX.ajax.runAction(`${this.#path}.${action}`, {data}); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings