We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f47fd3c commit 3ca6135Copy full SHA for 3ca6135
PBWebDiffController.m
@@ -7,6 +7,7 @@
7
//
8
9
#import "PBWebDiffController.h"
10
+#import "GLFileView.h"
11
12
13
@implementation PBWebDiffController
@@ -46,7 +47,7 @@ - (void) showDiff: (NSString *) diff
46
47
if ([diff length] == 0)
48
[script callWebScriptMethod:@"setMessage" withArguments:[NSArray arrayWithObject:@"There are no differences"]];
49
else
- [script callWebScriptMethod:@"showDiff" withArguments:[NSArray arrayWithObject:diff]];
50
+ [script callWebScriptMethod:@"showFile" withArguments:[NSArray arrayWithObject:[GLFileView parseDiff:diff]]];
51
}
52
53
@end
0 commit comments