The lodash.js tag has no wiki summary.
1
vote
1answer
35 views
Lodash chain implementation
I am mainly trying to avoid the nested forEach statements and am trying to move towards a lazy evaluation type solution.
jsFiddle
...
2
votes
4answers
75 views
Fill an array of objects with some default object
I have an array of objects. Whatever may be the size of this array, I need to ensure the size of the array as n using a default object.
...
3
votes
2answers
23 views
Function that groups rows returned from SQL DB
I have a data set returned from an SQL database contained below, as you can see all data remains the same apart from one property, "name_alt".
...
6
votes
2answers
3k views
Deep pick using lodash/underscore
Use Case
_.pick creates a shallow clone of an object given a predicate that identifies which keys to keep. pickDeep would ...
0
votes
2answers
5k views
Convert object array to hash map using lodash
Use Case
Fairly new to Lodash/Underscore. The use case is to convert an array of objects into a hash map where one property is the key and the other property is the value. Common case of using this ...
2
votes
0answers
324 views
Implementing “day wise task management” system using Django and AngularJS
I have a Task model in Django which looks like the following:
...
1
vote
1answer
300 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 ...