Skip to content

Commit

Permalink
bump json
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Oct 22, 2023
1 parent 390685b commit 9c3613f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20230227</version>
<version>20231013</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down
31 changes: 0 additions & 31 deletions src/main/resources/static/js/gw.ssh.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,6 @@ GW.ssh = {
echo: function(content){

if(content!=null){

// if(content.indexOf("Warning: Websocket Channel is going to close")!=-1){

// console.error("The WebSocket is going to close..");

// }

content = content.replace(/\n/g,'<br/>')

Expand Down Expand Up @@ -386,13 +380,6 @@ GW.ssh = {

}

// $("#log-window").slideToggle(true);
// switchTab(document.getElementById("main-console-tab"), "main-console");
// GW.general.switchTab("console");

// this.send("history_id:" + msg.history_id);

// this.send("token:" + msg.token); //the websocket is still in connecting state
if(msg.history_id.length==12)
this.addlog("=======\nStart to execute Process " + msg.history_id);
else
Expand All @@ -402,24 +389,6 @@ GW.ssh = {

openTerminal: function(token, terminal_div_id){

// shell = $('#content').terminal(function (command, term) {
//
// send(command);
//
// }, {
//
// prompt: '['+user+'@'+host+': ~]# ',
//
// name: 'Geoweaver SSH on Web',
//
// scrollOnEcho: true,
//
// greetings: "SSH on Web started. Type 'exit' to quit. \nThis system is funded by National Science Foundation (https://nsf.gov)."
//
// }
//
// );

}

}

0 comments on commit 9c3613f

Please sign in to comment.