vega-view 0.3.1.4 → 0.3.1.5
raw patch · 3 files changed
+10/−2 lines, 3 files
Files
- ChangeLog.md +6/−0
- app/Main.hs +3/−1
- vega-view.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,11 @@ # Changelog for vega-view +## 0.3.1.5++Report that an error occurred when the embed option failed, which is+better than the previous behavior (no plot would appear but no+indication that something happened), but the message is pretty anodyne.+ ## 0.3.1.4 Change the layout of the "directory with visualizations" page to move
app/Main.hs view
@@ -611,6 +611,7 @@ let cts = [ "function embed(path) { " , "var req = new XMLHttpRequest(); " , "req.addEventListener('load', embedSpec); "+ , "req.addEventListener('error', embedSpec); " , "req.responseType = 'json'; " , "req.open('GET', path); " , "req.send(); "@@ -637,7 +638,8 @@ , "vdiv.setAttribute('class', 'vega-error'); " , "}); " , "} else { "- , "addText(div, 'Unable to load specification'); "+ , "addText(div, 'There was an error when loading the specification. '); "+ , "addText(div, 'Is the vega-view web server still running?'); " , "} " , "div.style.display = 'block';" , "} "
vega-view.cabal view
@@ -1,5 +1,5 @@ name: vega-view-version: 0.3.1.4+version: 0.3.1.5 synopsis: Easily view Vega or Vega-Lite visualizations. description: A web server that is used to view all the Vega and Vega-Lite specifications in a directory, or sub-directory. It is similar