Comments (3)
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.
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.
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)
- Routes with named params HOT 6
- How can I restart subroutes? HOT 2
- Suggestion: returning Backbone.navigate or at least returning "this" HOT 3
- Polluted Routes when using a common base router class HOT 5
- Minified version produces wrong route HOT 1
- Filter support HOT 5
- Publish latest version to npm HOT 1
- Backbone and underscore should be dependencies (not devDependencies) HOT 1
- Route gets triggered twice HOT 3
- accessing router initialize parameters from the route callback? HOT 3
- using back button does not re-trigger all my routes
- loadUrl into uninitialized subroute fails HOT 3
- Seeking New Ownership! HOT 6
- Specify createTrailingSlashRoutes as an instance property when extending from Backbone.Subroute
- handling zombie views in the subroute
- Update bower info
- npm support
- Regex routes
- Multiple SubRoutes - is it possible?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backbone.subroute.