Skip to content
This repository has been archived by the owner on Aug 13, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:firebug/websocket-monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
janodvarko committed Feb 17, 2016
2 parents f9b262e + ce40c1c commit d479737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ var WebSocketsView = createView(PanelView,
* about the mapping event -> method.
*/
frameReceived: function(frame) {
frame = JSON.parse(frame);
frame = JSON.parse(decodeURIComponent(escape(frame)));
frame.received = true;
frame.type = "frame";
frame.data.webSocketSerialID = frame.webSocketSerialID;
Expand All @@ -96,7 +96,7 @@ var WebSocketsView = createView(PanelView,
},

frameSent: function(frame) {
frame = JSON.parse(frame);
frame = JSON.parse(decodeURIComponent(escape(frame)));
frame.sent = true;
frame.type = "frame";
frame.data.webSocketSerialID = frame.webSocketSerialID;
Expand Down

0 comments on commit d479737

Please sign in to comment.