Skip to content

Commit

Permalink
🔇 remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
janithwanni committed Oct 28, 2024
1 parent cf03db8 commit fe64a40
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions inst/htmlwidgets/show_scatter_2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ HTMLWidgets.widget({
if(HTMLWidgets.shinyMode) {
// register shiny callbacks
Shiny.addCustomMessageHandler("add-points", function(x) {
console.log("received add points in 2d mode");
var widget = HTMLWidgets.find(`#${x.id}`);
var scatter = widget.s;
scatter.addPoints(x.data)
})

Shiny.addCustomMessageHandler("add-edges", function(x) {
console.log("received add edges call in 2d mode");
var widget = HTMLWidgets.find(`#${x.id}`);
var scatter = widget.s;
scatter.addEdges(x.edges);
Expand Down

0 comments on commit fe64a40

Please sign in to comment.