The requirejs tag has no wiki summary.
0
votes
1answer
20 views
AngularJS: Sample ToDo App - Questions and Review
Intro: I first asked this one over at StackOverFlow and they hinted me that CodeReview is the place to post such things. Therefor some phrases from the text below might be "outdated". Thanks for your ...
1
vote
1answer
33 views
Layout manager: decouple DOM insertion from construction and rendering?
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 ...
0
votes
1answer
49 views
Is my Backbone.View organized properly and stylistically correct?
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 ...
0
votes
0answers
142 views
I implemented a User model with BackboneJS and RequireJS with test cases in Jasmine. How can I improve?
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 ...
0
votes
2answers
101 views
Refactoring a constructor to accept a config object
So I have a function which creates a Playlist object. Currently, this function accepts two paramaters: id and name. However, it also exposes a method called 'loadData' which can set the entire object ...