Closed Jerry2048 closed 3 years ago
Thanks for calling this out. I hadn't realized there was a problem. I don't know how it got truncated. I look into it, but meantime you can get a valid jsrender.min.js.map file here:
https://www.jsviews.com/download/jsrender.min.js.map
(also linked from the https://www.jsviews.com/#download page).
Let me know if that version works correctly for you...
Thank you, I'll try it when I'm back at work on
Yes, that version works and doesn't cause the warning. Thank you very much!
This has been fixed in new release v1.0.7
This truncated .map file has unfortunately happened again on v1.0.8. I'll probably need to release a new version (v1.0.9) to fix this on the CDNJS site.
But meantime a valid jsrender.min.js.map file for v1.0.8 is available here:
https://www.jsviews.com/download/jsrender.min.js.map
(also linked from the https://www.jsviews.com/#download page).
This has been resolved in v1.0.9
Somehow jsrender.min.js.map was truncated between v1.0.5 and v1.0.6. The newer one ends abruptly in the middle of the comment "// Test is satisfied, so render content on current context", causing an improperly formed JSON file and a warning when debugging my website in Chrome with F12: "DevTools failed to load SourceMap: Could not parse content for http://[name of site]/js/jsrender.min.js.map: Unexpected end of JSON input".