daattali / timevis

📅 Create interactive timeline visualizations in R
http://daattali.com/shiny/timevis-demo/
Other
653 stars 157 forks source link

vis.map not found #48

Closed greg-minshall closed 5 years ago

greg-minshall commented 6 years ago

with a running timeline, if i open the "web inspector" (developer console), i see a message: Failed to load resource: the server responded with a status of 404 (Not Found) for the file "lib/vis-4.16.1/vis.map". if i add this file (from the vis.js distribution), this error message (which is probably indicative of nothing major) goes away. cheers!

greg-minshall commented 6 years ago

i forgort to mention: e.g., https://daattali.com/shiny/timevis-demo/ gives this error message.

daattali commented 6 years ago

Strange, I never get that error with timevis. Here's my js console on the page you linked:

image

I have nothing against adding the map file though. If some users are seeing this error but adding the map file made it disappear then I would accept a PR for it. Thanks for report!

greg-minshall commented 6 years ago

it's all way beyond my javascript, etc., knowledge. is vis.map in your lib/vis-4.16.1/ directory? vis.map, afaict, appears in a comment lib/timeline-0.4/lib/vis-4.16.1/vis.min.js://# sourceMappingURL=vis.map so, maybe it's the console (in some mode i've randomly set it?) that is doing the lookup?