Backbone.js is a JavaScript library that provides structure to RESTful web applications.

learn more… | top users | synonyms (2)

0
votes
0answers
17 views

Backbone.js client model save issue on server-side error

Wondering if any one can help me out here. I have a single page on the client side running backbone.js The server is running socket.io. I have replaced Backbones default sync with the ...
0
votes
1answer
13 views

Render Backbone Template Variable In Quotes

Hi I'm using Backbone to render a Jade template into HTML. The view looks like this: script(type="text/template",id="waiting_call_template") div(class="call-code") <%= channelId %> ...
0
votes
0answers
16 views

Show images from links in Underscore templates (especially from dropbox image links)

How do you insert image link into an underscore template, so that it will display the image?
0
votes
0answers
15 views

how to use _.template() underscorejs for pagination

I have code that generates a list view of some content using _.template(), and it shows a huge list that takes much time to render all the data. How to paginate this list without omitting ...
1
vote
2answers
30 views

Exclude model properties when syncing (Backbone.js)

Is there a way to exclude certain property from my model when I sync? For example, I keep in my model information about some view state. Let's say I have a picker module and this module just toggle a ...
2
votes
1answer
40 views

Backbone can create objects, but not fetch them

I'm trying out Backbone.js for the first time. I'm not new to Django and so I'm trying to build a Backbone-powered frontend to a Django app. After some research, I decided that Tastypie is probably ...
0
votes
1answer
37 views

Set Focus on input after Backbone View rendered

I have a view with a login form and I'm attempting to set the focus after the view is rendered. I tried this, but it didn't work: class App.Views.Login extends Backbone.View template: ...
0
votes
0answers
30 views

Using Backbone.js with Zepto as an alternative to jQuery

How do I setup backbone.js to use Zepto instead of jQuery?
0
votes
1answer
30 views

backbone.js: how to send constraints when doing a list GET

I'm trying to build an application using backbone.js and backbone-relational.js on the frontend, with a RESTful api run by Pyramid/Cornice/SQLAlchmeny on the backend. At this stage, I have two ...
0
votes
0answers
32 views

escape_html with haml.bat?

I am using Haml standalone without Ruby and I use haml.bat to build the .html. Right now I have problem with Underscore.js templates using <%= %> for variable interpolation %img{:src => ...
0
votes
1answer
35 views

backbone views not working with fetched json

I'm having issues syncing JSON data received from the server with my views after a fetch. I do not have a collection of "mainmodel", because I'm only working with one "mainmodel" at a time but ...
1
vote
1answer
40 views

Carousel - Twitter BootStrap ; Hiding the Previous or Next button

I am trying to implement Carousel to my project.. Everything is working fine, except, based on the specs, I HAVE TO HIDE, the previous button, if i am on the first slide... and hide the next button, ...
2
votes
2answers
53 views

Understanding TodoMVC Example

Starting to learn node.js and backbone.js and am using the TodoMVC example as my guide. There are a couple parts I am having trouble wrapping my head around. See below. Here is app.js. var express ...
0
votes
1answer
38 views

Backbonejs: How would I attach a constructor for every instance of a model using prototype?

How would I attach a constructor for every instance of a model using prototype? I have been trying to modify the constructor method when an instance of Backbone.Model is created. BuT I do not want to ...
0
votes
2answers
28 views

Backbone Changing Class Name during {{each items}}

I want to change the classname during an each loop; so that it will look like this; <div class="active"> // do somthing </div> <div class="static"> //do </div> my code ...

1 2 3 4 5 355
15 30 50 per page