Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
75 views

Rendering comments in a Backbone view

I want to make show/hide logic more maintainable in my codebase. Because they are too faraway located in separate js files, it hard for people to maintain. The flow in my codebase is: require.js ...
poc's user avatar
  • 605
2 votes
0 answers
126 views

Backbone/requireJs and circular dependencies

I'm trying to have a main App view with references of all my views to manage and call transitions between theses views. But, I have circular dependencies. app.js ...
Laurent's user avatar
  • 21
6 votes
1 answer
3k views

Avoiding RequireJS circular dependencies

My app module bootstraps a Backbone.js application. I need app to be available in every other view for easy access to router, ...
Dan's user avatar
  • 1,486
1 vote
1 answer
526 views

Layout manager: decouple DOM insertion from construction and rendering? [closed]

I'm refactoring a responsive report builder in JavaScript. Here's what it looks like: This started as a small set of objects that transformed data, rendered the graphs with D3.js, and managed the ...
Johntron's user avatar
  • 1,110
2 votes
1 answer
766 views

Control consisting of a mute button and an expanding range slider

I'm learning BackboneJS and I just made an attempt at converting a pre-existing module to a Backbone.View. I was hoping to get some feedback on my attempt and learn. I've been using the annotated ToDo ...
Sean Anderson's user avatar
4 votes
1 answer
567 views

User model with BackboneJS and RequireJS with test cases in Jasmine

I've been taking a stab at implementing test cases using the Jasmine testing framework. To do so, I've made an application which has a User object. This User object is created by the server, but its ...
Sean Anderson's user avatar