Skip to content
This repository was archived by the owner on Jul 13, 2024. It is now read-only.

Commit c70e489

Browse files
authored
Merge pull request #214 from srangos/develop
Add commit object to the mouseEventOptions object
2 parents cf35bf8 + 769b6bf commit c70e489

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gitgraph.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,8 @@
390390
author: commit.author,
391391
message: commit.message,
392392
date: commit.date,
393-
sha1: commit.sha1
393+
sha1: commit.sha1,
394+
commit: commit
394395
};
395396

396397
_emitEvent(self.canvas, "commit:" + event, mouseEventOptions);

0 commit comments

Comments
 (0)