문제

Hi I have installed the latest version of 'marionette-rails' and 'rails-backbone' for my web app but am having issues in creating a new marrionette instance.

This is what I did in my web console

App = new Marionette.Application()

After which I see this error

TypeError: this.listenTo is not a function

enter image description here

Has this got to do with the versioning of marionette or backbone?

How do I get around this so that I can create an instance of marionette?

도움이 되었습니까?

해결책

I realize that the issue was due to a old version of rails-backbone. I did a gem update to get the latest version of rails-backbone which did the job

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top