芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/livewire/livewire/js/DirectiveManager.js
import MessageBus from "./MessageBus" export default { directives: new MessageBus, register(name, callback) { if (this.has(name)) { throw `Livewire: Directive already registered: [${name}]` } this.directives.register(name, callback) }, call(name, el, directive, component) { this.directives.call(name, el, directive, component) }, has(name) { return this.directives.has(name) }, }