Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use httpgd NPM package #823

Merged
merged 14 commits into from
Nov 30, 2021
2 changes: 1 addition & 1 deletion html/httpgd/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<body>
<div id="largePlot" plotId=<%- largePlot?.id || '' %>>
<%- largePlot?.svg %>
<%- largePlot?.data %>
</div>
<div id="handler"> </div>
<div id="smallPlots" class="<%- previewPlotLayout%>">
Expand Down
2 changes: 1 addition & 1 deletion html/httpgd/smallPlot.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class="focusPlot <%- plot.id === activePlot ? 'active' : '' %> "
plotId="<%- plot.id %>"
>
<%- plot.svg %>
<%- plot.data %>
</a>
<a
href="<%- makeCommandUri('r.plot.hidePlot', plot.host, plot.id) %>"
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"onCommand:r.helpPanel.back",
"onCommand:r.helpPanel.forward",
"onCommand:r.helpPanel.openForSelection",
"onCommand:r.plot.openUrl",
"onWebviewPanel:rhelp",
"onTerminalProfile:r.terminal-profile"
],
Expand Down Expand Up @@ -1713,6 +1714,7 @@
"ejs": "^3.1.6",
"fs-extra": "^10.0.0",
"highlight.js": "^10.7.3",
"httpgd": "^0.1.6",
"jquery": "^3.6.0",
"jquery.json-viewer": "^1.4.0",
"js-yaml": "^4.1.0",
Expand Down
Loading