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

Commit

Permalink
Add commit object to the mouseEventOptions object
Browse files Browse the repository at this point in the history
This will allow users to work with the full commit object during mouse over and mouse out events
  • Loading branch information
srangos committed Dec 19, 2018
1 parent cf35bf8 commit 769b6bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gitgraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@
author: commit.author,
message: commit.message,
date: commit.date,
sha1: commit.sha1
sha1: commit.sha1,
commit: commit
};

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

0 comments on commit 769b6bf

Please sign in to comment.