-
Avoid a TypeError when initializing MergeRequest JS class with no arg · 8aed815bRémy Coutable authored
Without this sane default you would get the following error when you tried to instantiate a new MergeRequest object with no argument (i.e. `new MergeRequest();`): TypeError: undefined is not an object (evaluating 'this.opts.action') Signed-off-by: Rémy Coutable <remy@rymai.me>
×