Items 1-12 out of 19652 displayed
The problem is that return {{cards}};
isn't valid JavaScript. You only use curly braces like that in JSX. (Also you were missing a closing parenthesis on line 6.)...
If you want Math.min()
to process an array of values, you have to use .apply()
:
var lowestTime = Math.min.apply(Math, times);...
Ok, I think I figured it out. We can have callback from the end of javascript that will fire show view - like
@Mohamed Meligy came with the same solution Though i used something else.. here is how...
You should put your javascript in a document ready function. You javascript code won't work because the document isn't fully loaded yet. change the javascript code to the following: