Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Feb 8, 2025
1 parent 67d4e91 commit 0bdcb3d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
2 changes: 0 additions & 2 deletions src/main/resources/static/js/gw.host.js
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,6 @@ GW.host = {
},

addMenuItem: function (one) {
console.log("Add host to the tree");

var one_item =
` <li class="host" id="host-` +
one.id +
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/static/js/gw.process.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ GW.process.util = {

var editorContainerId = code_editor_container_id.substring(1); // Assuming it starts with '#'
var container = document.getElementById(editorContainerId);
console.log("Editor container: " + editorContainerId);


if (!container) {
console.error('Editor container not found.');
return;
Expand Down
10 changes: 0 additions & 10 deletions src/main/resources/static/js/gw.workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ GW.workspace = {

showNonSaved: function () {

console.log("changes happened");

GW.workspace.workflow_unsaved = true;

$("#main-workspace-tab").html("Weaver *");
Expand Down Expand Up @@ -1332,7 +1330,6 @@ GW.workspace = {
return "black";
})
.attr("fill", function (d) {
console.log("circle append called " + d.color);
if (d.skip == "true" || d.skip == true) {
return "url(#diagonalHatch)";
} else {
Expand All @@ -1348,13 +1345,6 @@ GW.workspace = {

GW.workspace.GraphCreator.prototype.zoomed = function () {
this.state.justScaleTransGraph = true;
console.log(
"d3.event.translate: " +
d3.event.translate +
": d3.event.scale = " +
d3.event.scale,
);

d3.select("." + this.consts.graphClass).attr(
"transform",
"translate(" + d3.event.translate + ") scale(" + d3.event.scale + ")",
Expand Down

0 comments on commit 0bdcb3d

Please sign in to comment.