Casey Manion

Results 3 comments of Casey Manion

Looking at the code now ... wonder if it would work with my plugin (https://github.com/caseman72/garmin.com.js) as I have to proxy the code through an nginx server to get it to...

``` requestIds = requestIds.filter(function(elem) { if (elem.requestId === requestId) { request = elem; } return (elem.expiration < now && elem.requestId !== requestId); }); ``` This will find the element and...

~~Thanks! I found a bug with my filter... updating code now.~~ Logic was ok ... filter is weird as it true (keeps) and false (removes)