Skip to content

Commit

Permalink
Remove redundant proxy error listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceK33z committed Oct 16, 2016
1 parent 974a11b commit f779ef8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
6 changes: 0 additions & 6 deletions client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ var onSocketMsg = {
if(initial) return initial = false;
reloadApp();
},
"proxy-error": function(errors) {
log("info", "[WDS] Proxy error.");
for(var i = 0; i < errors.length; i++)
log("error", stripAnsi(errors[i]));
if(initial) return initial = false;
},
close: function() {
log("error", "[WDS] Disconnected!");
}
Expand Down
10 changes: 0 additions & 10 deletions client/live.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,6 @@ $(function() {
$errors.show();
iframe.hide();
},
"proxy-error": function(errors) {
status.text("Could not proxy to content base target!");
okness.text("Proxy error.");
$errors.text("\n" + stripAnsi(errors.join("\n\n\n")) + "\n\n");
header.css({
borderColor: "#ebcb8b"
});
$errors.show();
iframe.hide();
},
close: function() {
status.text("");
okness.text("Disconnected.");
Expand Down

0 comments on commit f779ef8

Please sign in to comment.