Skip to content

Commit

Permalink
support for Overlay.hightlightNode
Browse files Browse the repository at this point in the history
  • Loading branch information
erha19 committed Nov 7, 2018
1 parent f1b0c2b commit 8f7bebc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/WXDevTool/Source/PonyDebugger/WXDebugger.m
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ - (void)webSocket:(SRWebSocket *)webSocket didReceiveMessage:(NSString *)message
NSString *encodedData = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
[webSocket send:encodedData];
};

if ([domainName isEqualToString:@"Overlay"]) {
domainName = @"DOM";
}

WXDynamicDebuggerDomain *domain = [self domainForName:domainName];

Expand Down

0 comments on commit 8f7bebc

Please sign in to comment.