Questions tagged as 'underscorejs'

1
answer

I'm experimenting with javascript and css rotating divs with letters because some rotate well and others abruptly

The code that rotates the divs with the letters: if(tipoTransformacion[i]==0) $("#t_"+i).css("transform","rotate("+rotar+"deg)"); if(tipoTransformacion[i]==1) $("#t_"+i).css("transform","rotate("+rotar2+"deg)");...
asked by 28.09.2016 / 08:02
2
answers

Is it possible to find a Date value within an array?

Good afternoon, my query is if I have a value type Date and an array where its values are also type Date : is it possible to perform a search to see if there are matches? . I'm doing the following: // time = Sun Dec 13 2015 21...
asked by 18.12.2015 / 19:33
1
answer

Collection Nested Backbone

I ask for your help to help me get the value of a key that is nested, when I render, it shows me the first level but I do not know how to get to the more internal nodes, the model is: { "ciudadDepartamento": "Bogotá", "estadoDepartamento": t...
asked by 15.05.2016 / 21:50
1
answer

Major and minor positions of an array

I have arrays that are filled with two variables and I am doing very well but now I have not been able to identify which is the minor value and greater value of a selected point with a slider, I am looking at the Underscore.js library and there...
asked by 01.11.2016 / 16:19
2
answers

include javascript / jquery functions in backbone template

I have the following template with a table. An Array is traversed and a link is created in the row of the table <tbody> <%for(var i=0;i<resultados.length;i++){ %> <tr onclick="window.open('#/ensayo/<%- resultados[i].tipoE...
asked by 06.10.2017 / 13:03