ka215 / jquery.timeline

You can easily create the horizontal timeline with two types by using this jQuery plugin.
MIT License
240 stars 43 forks source link

Conflict with Vuejs #93

Closed enginnk closed 1 year ago

enginnk commented 1 year ago

Describe the bug

I have some code written in Vuejs when I am activating this library it's throwing error Event.$on is not a function and Event.$emit is not a function.

Sample of my code is below.

    Event.$on('eventFailed', function(message) {
        self.alertClass = 'alert-danger';
        self.alertContent = message;
    });

    Event.$on('eventSucceed', function(message) {
        self.alertClass = 'alert-success';
        self.alertContent = message;
    });``

In timeline js Event is written in line 463 to `511. As per my opinion this is getting conflict with Vuejs Event.