Coder Social home page Coder Social logo

Comments (3)

geekdave avatar geekdave commented on July 21, 2024

Fernão: Could you paste in the examples of how you are setting up and using
your subroutes? This error is coming from backbone.js, itself. Not sure
what the reason would be... but probably something related to how the
subrouters are initialized.

On Wed, Oct 30, 2013 at 9:59 AM, fernao [email protected] wrote:

Hi there,

I'm trying to implement an app with backbone subroute, but I'm getting an
error that seems related to AMD.

After calling the subroutes on the main route file, I've got this error:

TypeError: this._bindRoutes is not a function
[Break On This Error]

...{});if(i.isString(this.comparator)||this.comparator.length===1){this.models=this...

Any ideas?

Fernão


Reply to this email directly or view it on GitHubhttps://github.com//issues/29
.

from backbone.subroute.

fernao avatar fernao commented on July 21, 2024

Dave,
I'm using RequireJs, what increases the complexity. Also, my routes are quite complex too. And YES, I think it's related to subroutes initialization.

I'll try a simplest example and then sent it to you later. If you want you may close this issue, sorry for opening without properly checking it before.

from backbone.subroute.

geekdave avatar geekdave commented on July 21, 2024

No problem at all! I use RequireJS for my main project, and it plays nicely with backbone.subroute, so we should be able to get it working. I'll close this for now, but please do open another issue when you are able to provide a case I can reproduce and debug on my end.

from backbone.subroute.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.