Karnith / angular-revolution

directive for the Slider Revoluiton created by ThemePunch (http://www.themepunch.com/portfolio/slider-revolution-jquery-plugin/)
MIT License
14 stars 10 forks source link

TypeError: dbg is undefined #8

Closed ghost closed 7 years ago

ghost commented 7 years ago

All works well until you try to navigate to another page inside the angualr app. The app returns TypeError: dbg is undefined and does not move to another page. I can access those pages directly, and use the menu no problem, but any page that contains the angular revolution will not navigate off page and produces the above error.

Karnith commented 7 years ago

can you send me a link to look at? What version of angular are you using and how are you calling the rev slider init function?

ghost commented 7 years ago

I am working on it locally. I am using v1.4.10 of angular. I reference $scope.slider = { and the paramters from the set up info you have here, as well as var app = angular.module('app', [ 'bootstrapLightbox', 'ui.router', 'ui.bootstrap', 'flash', 'login', 'dashboard','rev.slider']);

And forgive me if I am not answering this correctly. Angular is very new to me - I am working with this https://github.com/ranjithprabhuk/Angular-Bootstrap-Dashboard and replacing the owl carousel with revolution

Like I said, the slider works perfectly - thank you for that!

Karnith commented 7 years ago

can you tell me where dbg comes from? it sounds like dbg is a variable that isn't being defined. If this is the case then your js code is being stopped on this error and not loading anything else in browser. If you can post the file that this is in a I can quickly look and might be able to determine what the issue is.

ghost commented 7 years ago

I've looked at other browsers, and this is only happening in Firefox. Chrome, Safari, IE no issue ... DBG comes from the firebug debugger - turning it off, now it works fine in FF ... go figure that firebug would prevent an application from running ... I'm going to say this is a non issue. Thanks for your time.

Karnith commented 7 years ago

OK, then with your conformation I'll close the ticket.

I used to use FireFox for development debugging, but since have moved to Chrome as it's tools seem to far surpass what firefox can do.

ghost commented 7 years ago

I've looked at other browsers, and this is only happening in Firefox. Chrome, Safari, IE no issue ... DBG comes from the firebug debugger - turning it off, now it works fine in FF ... go figure that firebug would prevent an application from running ... I'm going to say this is a non issue. Thanks for your time.

ghost commented 7 years ago

I'll be moving to chrome now that I see more and more issues with FF and it's plugins