DOI-USGS / hurricane-irma

Creative Commons Zero v1.0 Universal
55 stars 20 forks source link

prcpdata undefined when running on windows #171

Closed ede0m closed 7 years ago

ede0m commented 7 years ago

I had this issue Tuesday when setting up and running locally. I believe Lindsay has experienced this too.

prcpTime and prcpColor data objects are represented as string types after $.get callbacks on Windows for some reason. This makes calls like prcpTime.times.length undefined.

Simple fix is just to cast back to JSON object.