mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 17:27:22 +02:00
Root commit regression Issue #100
This commit is contained in:
parent
fad9661f30
commit
62317b8d4c
6 changed files with 12 additions and 3 deletions
|
@ -16976,6 +16976,9 @@ var VisBranch = VisBase.extend({
|
|||
var overThreshold = (visNode.get('pos').x > threshold);
|
||||
|
||||
// easy logic first
|
||||
if (commit.get('id') === 'C0') {
|
||||
return -1;
|
||||
}
|
||||
if (!this.get('isHead')) {
|
||||
return (overThreshold) ? -1 : 1;
|
||||
}
|
||||
|
@ -33214,6 +33217,9 @@ var VisBranch = VisBase.extend({
|
|||
var overThreshold = (visNode.get('pos').x > threshold);
|
||||
|
||||
// easy logic first
|
||||
if (commit.get('id') === 'C0') {
|
||||
return -1;
|
||||
}
|
||||
if (!this.get('isHead')) {
|
||||
return (overThreshold) ? -1 : 1;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
1
build/bundle.min.88b989a0.js
Normal file
1
build/bundle.min.88b989a0.js
Normal file
File diff suppressed because one or more lines are too long
2
build/bundle.min.js
vendored
2
build/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -434,7 +434,7 @@
|
|||
For a much easier time perusing the source, see the individual files at:
|
||||
https://github.com/pcottle/learnGitBranching
|
||||
-->
|
||||
<script src="build/bundle.min.13132f0d.js"></script>
|
||||
<script src="build/bundle.min.88b989a0.js"></script>
|
||||
|
||||
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
|
||||
The downside? No raw logs to parse for analytics, so I have to include
|
||||
|
|
|
@ -88,6 +88,9 @@ var VisBranch = VisBase.extend({
|
|||
var overThreshold = (visNode.get('pos').x > threshold);
|
||||
|
||||
// easy logic first
|
||||
if (commit.get('id') === 'C0') {
|
||||
return -1;
|
||||
}
|
||||
if (!this.get('isHead')) {
|
||||
return (overThreshold) ? -1 : 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue