Backbone.js is a JavaScript library that provides structure to RESTful web applications.
0
votes
0answers
18 views
Meteor & Backbone Sync
I search best way to sync my Backbone.Collection and Meteor MongoDB Collection.
What a best way for it? I want make POST/GET request thru the client.
0
votes
0answers
21 views
Expecting a function in instanceof check, but got body - Trying to create view in Backbone
I am trying to create a view in Backbone and trying to load libs via node require. i am able to output to console from Model/Collection but when i start to create view i am getting error "Expecting a ...
1
vote
0answers
12 views
How to find out what is referencing a detached DOM tree using Chrome Dev Tools
I'm trying to figure out exactly how to get which variable is referencing something in a detached DOM tree. I've isolated the problem down to two simple views, and I'm trying to use Chrome Dev Tools ...
0
votes
0answers
32 views
Unable to set value of the property 'on': object is null or undefined
I am trying to run my web application in IE8. My application uses backbone. I have fixed quite a few bugs but I'm stuck at this particular line of code.
GlobalObject = _.extend(GlobalObject, ...
1
vote
1answer
19 views
Underscore _.template Uncaught Syntax error token
I'm working on Addy Osmani's Backbone Fundamentals tutorial. http://addyosmani.github.io/backbone-fundamentals/#application-view
and am getting an "Uncaught SyntaxError: Unexpected token % " in ...
0
votes
1answer
11 views
Status 501 - Method Not Implemented - when use Backbone
When I send a POST method to a valid URL with Backbone, the server is returning this:
Method Not Implemented
POST to /clientes/login not supported.
What can it be?
Thank you!
0
votes
0answers
20 views
Upvote and Downvote with Backbone, Express and Mongoose
I am trying to implement a voting system similar to stackoverflow or reddit where a user would only be allowed to vote once on a given post.
After following the advice given here
storing ...
1
vote
1answer
11 views
Reading previous URL in Backbone.history
Can you read Backbone.history to see the previous URL the user was on within your app? If not, is there a way to extend Backbone routes to keep track?
-1
votes
2answers
18 views
Backbone js has no method Extend
I have started with backbone today and having hard time get it loaded as it returns the error as
Uncaught TypeError: Object function (a,b){var c,d=a||
...
6
votes
3answers
48 views
Backbone example app and javascript apply
Hi can someone explain why in backbone example app (http://backbonejs.org/examples/todos/index.html) in remaining() function, is called using apply (this.without.apply(this, this.done());) and not ...
0
votes
1answer
19 views
Backbone.js Click Event Won't Fire on Previously Added Subviews
I've been trying to resolve this for days!
The use-case is one that I would think to be very common; I have a button (<button id="add-item">) that adds a new item element (<div ...
0
votes
1answer
16 views
Backbone pushState is returning raw JSON data
I am attempting to implement pushstate for my Backbone/NodeJS application. If I go to the following route /testRoute/123 within the browser itself, from another view, the associated views to ...
1
vote
3answers
55 views
Update a Backbone Collection property on add/remove/reset
I have a Backbone Collection, and I want it to respond in some way to its own updates (i.e. additions, removals, resets). I've run into this in various scenarios, but for the sake of discussion, let's ...
-1
votes
0answers
20 views
Remove a click event in a specific Backbone.js View
I'm using BackboneJS for my current project. I have few buttons in the header of my web app which I call HeaderView.
Say I have other views in my web app as View1, View2 and View3. In View1 and ...
0
votes
1answer
16 views
More than one modul per file - RequireJS and Backbone
I'm now using Backbone without RequireJS and I'd like to rewrite whole my app to utilize RequireJS benefits. Only thing that holds me back is the notion that I will have move each Backbone's ...