JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "DirectiveManager.js"

Full Path: /var/www/lionsclub/core/vendor/livewire/livewire/js/DirectiveManager.js
File size: 466 bytes
MIME-type: text/plain
Charset: utf-8

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)
    },
}