I'm using RequireJS, backbone boilerplate with layout manager, JamJS to help manage packages, and everything works fine in development, but when I try to create a production version with concatenated files it doesn't work.
It looks like the shim in…
So I have got this new project which has this line in every view.
Backbone.Layout.extend({ /*...*/ })
But when I look at the documentation for Backbone and other tutorials, it has
Backbone.View.extend({ /*...*/ })
Also all the views have…
I'm having a problem in Layout Manager to get the view to wait to render until a bunch of AJAX calls have completed and successfully populated a collection which I pass to subviews.
Here's my initialization function:
initialize : function(){
…
I am having issues with DOM elements being left in memory after being deleted. I have set-up an example shown below. Note I am using the backbone layout manager plugin to manage my views (as well as jQuery).
I have done a heap snapshot in Chrome…
I'm using BBB with the great LayoutManager for the views.
Unfortunately, i can't find a way to re-render specific subviews. Here is my setting:
Home.Views.Layout = Backbone.Layout.extend({
template: "home/home",
el: "#main",
views: {
…
I'm using underscore.js to check if an element is true within a list. Here is the coffeescript code for it:
uploading = _(@getViews ".file-forms").some (view) ->
view.uploading is true
printing 'uploading', instead of returning true or false,…
I'm trying to create a backbone app using Backbone.Layoutmanager.
I'm getting this rather unhelpful error
Uncaught TypeError: Object.keys called on non-object
I'm starting with an empty html file that I want to render an 'appChrome' layout…
I'm using the Backbone Layout Manager Boilerplate. Unfortunately, a quite frustrating bug occurred. I like render a list of items as subviews inserted by insertView function. At the first load everthing works fine. But after a reload the the click…
Can I add a different View or Layout in case of fetching an collection returns error?
Right now, I'm doing it like this:
this.artistsCollection.fetch({
error: function() {
$('div.artistsDiv').append('
Hey guys i am trying to create a quick burn effect. I am using Backbonejs, Backbone Layout manager and twitter bootstrap. I have a wrapper div which contains a bunch of tex fields, imgs, labels, ect... the wrapper div is controlled by a backbone…
Here is an example code from the github of backbone layout manager.
The custom render for the view is not getting called/it doesn't stop on the break point.what is happening.
// Create a Content view to be used with the Layout below.
var…
I'm using Layoutmanager with manage set to true
Backbone.Layout.configure({
manage: true
which messes up rendering of the Backgrid.
When manage is set to false then the table is rendered correctly, but if I set manage to true, then the table…
Can someone help explain / provide an example on how to use the LayoutManager within the Backbone Bolierplate?
Within app.js I can see a useLayout function that extends the main app object. Within here it appears to be setting a base layout…
I am using Backbone and Layout Manager. I have this code inside MyView.js:
afterRender: function() {
var scope = this;
this.model.get("books").each(function(bookModel) {
var bookView = new BookView({
model:…