Backbone.js is a JavaScript library that provides structure to RESTful web applications.
0
votes
0answers
4 views
BackGrid Paginator - css/image for page left and page right?
Im using BackGrid.js to paginate my data tables but im having a small issue with css on the "page left" and "page right" images, they dont seem to be rendering for me so i must either be missing the ...
2
votes
1answer
8 views
Backbone - How to this.model.save() an attribute with array?
I have this model:
var Contact = Backbone.Model.extend({
defaults: function () {
return {
idc: ""
name: ""
email: "",
phones: new Array()
...
0
votes
0answers
6 views
Backbone fetch() fails for IE
I am using Backbone's fetch to get data from a remote server. It works fine for all browsers but IE (of course), as IE requires you to use XDomainRequest instead of XHR for cross site. Do I have to ...
0
votes
1answer
19 views
backbone event listener on singleton object
I am trying to create a singleton object as a model for a view on backbone, and I want to re-render the view whenever this singleton object is being changed and updated. I am not sure the following ...
-4
votes
1answer
21 views
What is an HTML5 framework? [closed]
What are HTML5 frameworks? Are bootstrap.js or backbone.js HTML5 frameworks?
What does HTML5 framework mean and can we say if a particular JavaScript framework is HTML5 or not?
Can anyone share a ...
0
votes
1answer
17 views
Set my Backbone/Requirejs Application to independant plugin reusable
I developped an application with Backbone
In order to avoid multiple js file declaration in index.html I used RequireJS to load js files.
Everything works fine.
My application looks like this.
...
1
vote
2answers
16 views
Backbone Marionette Nested Composite View
So I am stuck. I got the great Backbone.Marionette to handle my nested childs/parents relationships and rendering(doing it with the bare backbone was a nightmare), but now i'm facing problems with my ...
0
votes
1answer
16 views
What is causing SyntaxError: Unexpected EOF error in underscore template?
I am getting a SyntaxError: Unexpected EOF output when using an underscore template to render html in a Backbone application. Here is my template:-
<script type="text/template" ...
0
votes
0answers
18 views
Unable to add more than one model to my collection
I am new to Backbone, and trying to make a table data using backbone, it has add, edit, delete (CRUD).
In this process I've done the add part, all works fine. But I'm unable to add more than one ...
1
vote
1answer
18 views
Backbone model on change not firing
I've pasted my code below and 'on change' is not firing when a data is pushed into already existing array within the model, but when whole array is reset it gets fired.
var BookModel = ...
1
vote
1answer
18 views
Tooltip in a modal with backbone.marionette and twitter bootstrap
I have a button in a backbone.marionette app which opens a modal and I'd like to have tooltips in this modal.
The view which displays the modal in the modal region:
class MyApp.Views.UserInfos ...
0
votes
0answers
12 views
jqm+backbone.Js+require.Js transition on routing not working
I use jqm 1.1, the page transition like swipe is not working when using backbone routing.
I'm using backbone routing instead of mobile routing. the router code is
define([
'jquery',
...
0
votes
0answers
8 views
jquery-mobile-iscrollview with BACKBONEJS+REQUIREJS not working when navigate to next page
I use jquery-mobile-iscrollview in my page. The scroll is show in first page and when navigate to next page the scroll doesnt appears and won't work. I use iscroll view for fixing the ...
0
votes
0answers
11 views
Backbone collection.create always return error
I'm using tastypie on django backends, here is how I create a new model
addEdu:function(e){
e.preventDefault()
var form_data = {
user: ...
0
votes
1answer
19 views
Upgrading to Backbone 1.0
I would like to upgrade to Backbone 1.0 from the 0.9 series.
In my backbone app, when I call collection.fetch() I bind on the reset event. Unfortunately this no longer works as of 1.0:
Renamed ...