Skip to main content
0 votes
0 answers
188 views

I am working on integrating a plugin into my application which resulted in lodash.js and underscore.js conflict. I have underscore.js implemented in my entire application and this plugin which I am ...
Gaurav's user avatar
  • 192
1 vote
1 answer
64 views

I have a supersite that uses all kinds of js, including backbone.js and underscore.js. On one of my pages, I have the piece of code below: <#loop:main_tlds_price_add#> <tr> <td ...
adeguk Loggcity's user avatar
1 vote
2 answers
55 views

I have a inherited a system that utilizes a Backbone collection of files that needs to be sorted based on a series of values. The order variable is saved when you slide different files into a position ...
xtine.k's user avatar
  • 39
0 votes
1 answer
65 views

For an exercise, I have to reproduce the first function from the Underscore.js library. The code I wrote passes all the tests, except "should work on an arguments object". I passed these ...
Detla888's user avatar
1 vote
0 answers
43 views

I am using backbone js as frontend in rails 7 application. In index.html file I have called backbone main file. code is coming in this file. But here I have initialise router file. In which getting ...
Divya Keswani's user avatar
0 votes
1 answer
378 views

While running NG BUILD, I am getting an error: type DeepTypeOfCollection is not generic. Also Type alias DeepTypeOfCollection circularly references itself.
mruanova's user avatar
  • 7,183
0 votes
0 answers
37 views

I use the underscore library to copy objects, the _.clone() method. And this method works differently on different versions of angular, or maybe the problem is something else? F.e: class FooBar { ...
Euphoria's user avatar
0 votes
1 answer
219 views

For whatever reason, some update in Opera has caused me to get frustrated for about a week now trying to figure out why Opera no longer works on my productivity sites - like StreamTime or Elementor (...
hazrpg's user avatar
  • 512
0 votes
1 answer
350 views

I am working on a exercise based of the underscore _.throttle function. Our function is slightly modified as we have the return the last computed result if the _.throttle function is still waiting to ...
Niels Koop's user avatar
1 vote
2 answers
104 views

I am working on an exercise that is based on the reduce exercise from underscore.js. Now, I have a solution that works but I believe it can be done better since I used a lot of copy pasting in my ...
Niels Koop's user avatar
0 votes
1 answer
68 views

I have an array of object with data: items = [ { ....someFields timeFrom: { hour: 17, minute: 15 } }, { ....someFields timeFrom: { hour: 12, ...
Arams's user avatar
  • 199
0 votes
5 answers
104 views

Using plain JavaScript or lodash, what's the easiest way to transform an array of objects into a single object, while concatenating any array values? I can achieve it on a single property using _....
Chris Fulstow's user avatar
0 votes
1 answer
44 views

I have an array of objects - say, NFL teams. Each object (team) has a property - array of first names of team players. var nflTeams = [ { name: 'Kansas City Chiefs', playersFirstNames: ['Shane', ...
curious_orange's user avatar
0 votes
2 answers
108 views

I'm a beginner and trying to rewrite an underscore function _.invoke. I'm trying to make the function so it returns an array with the results of calling the method on each value in the collection. _....
OWELEY's user avatar
  • 25
0 votes
3 answers
97 views

I have two objects: const people = [ { name: "Dave", fruit: ["apple", "pear"], veg: ["asparagus", "peas"] }, { name: "Frank",...
Hayley's user avatar
  • 321

15 30 50 per page
1
2 3 4 5
383