Sindbad~EG File Manager

Current Path : /var/www/html/gamificacionbahia.sumar.com.py/vendor/livewire/livewire/js/
Upload File :
Current File : /var/www/html/gamificacionbahia.sumar.com.py/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)
    },
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists