Make comments initially empty
Allows using gr-diff without providing comments. Before it would simply crash. Now it will not render comments. Change-Id: I6569816c94acc644061f34d24854221b5da874ac
This commit is contained in:
parent
460a3f3c35
commit
7a06549cdf
@ -96,7 +96,10 @@
|
||||
reflectToAttribute: true,
|
||||
},
|
||||
noRenderOnPrefsChange: Boolean,
|
||||
comments: Object,
|
||||
comments: {
|
||||
type: Object,
|
||||
value: {left: [], right: []},
|
||||
},
|
||||
lineWrapping: {
|
||||
type: Boolean,
|
||||
value: false,
|
||||
|
Loading…
Reference in New Issue
Block a user