Skip to content

Commit 85755c5

Browse files
author
Michelle Tilley
committed
Whitespace fixes
1 parent f29b993 commit 85755c5

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

css/explaingit.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ span.cmd {
134134

135135
.control-box input[type="text"] {
136136
position: absolute;
137-
bottom: 0;
137+
bottom: 0;
138138
padding-left: 15px;
139139
color: #FFF;
140140
line-height: 14px;

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,12 +523,12 @@ <h2>Specific Examples</h2>
523523

524524
window.addEventListener('hashchange', open, false);
525525
window.addEventListener('load', open, false);
526-
526+
527527
function open() {
528528
var hash = window.location.hash.substr(1),
529529
linkId = 'open-' + hash,
530530
example = examples[hash];
531-
531+
532532
if (example) {
533533
explainGit.reset();
534534
document.getElementById(linkId).classList.add('selected');
@@ -540,7 +540,7 @@ <h2>Specific Examples</h2>
540540
elements[i].style.display = 'none';
541541
}
542542
document.getElementById('fork-me').style.display = 'none';
543-
543+
544544
explainGit.reset();
545545

546546
explainGit.open({

js/controlbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ define(['d3'], function () {
239239

240240
return;
241241
}
242-
242+
243243
while (args.length > 0) {
244244
var arg = args.shift();
245245

js/explaingit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ define(['historyview', 'controlbox', 'd3'], function (HistoryView, ControlBox, d
7171
window.explainGit = explainGit;
7272

7373
return explainGit;
74-
});
74+
});

js/historyview.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -293,14 +293,14 @@ define(['d3'], function () {
293293
break;
294294
}
295295

296-
var matchedTag = function() {
296+
var matchedTag = function() {
297297
for (var j = 0; j < commit.tags.length; j++) {
298298
var tag = commit.tags[j];
299299
if (tag === ref) {
300300
matchedCommit = commit;
301301
return true;
302302
}
303-
303+
304304
if (tag.indexOf('[') === 0 && tag.indexOf(']') === tag.length - 1) {
305305
tag = tag.substring(1, tag.length - 1);
306306
}
@@ -360,7 +360,7 @@ define(['d3'], function () {
360360
svgContainer = container.append('div')
361361
.classed('svg-container', true)
362362
.classed('remote-container', this.isRemote);
363-
363+
364364
svg = svgContainer.append('svg:svg');
365365

366366
svg.attr('id', this.name)
@@ -417,7 +417,7 @@ define(['d3'], function () {
417417
preventOverlap(commit, this);
418418
}
419419
},
420-
420+
421421
_resizeSvg: function() {
422422
var ele = document.getElementById(this.svg.node().id);
423423
var container = ele.parentNode;
@@ -726,8 +726,8 @@ define(['d3'], function () {
726726
newTags.append('svg:text')
727727
.text(function (d) {
728728
if (d.name.indexOf('[') === 0 && d.name.indexOf(']') === d.name.length - 1)
729-
return d.name.substring(1, d.name.length - 1);
730-
return d.name;
729+
return d.name.substring(1, d.name.length - 1);
730+
return d.name;
731731
})
732732
.attr('y', function (d) {
733733
return tagY(d, view) + 14;
@@ -969,9 +969,9 @@ define(['d3'], function () {
969969
while (branchStartCommit.parent !== currentCommit.id) {
970970
branchStartCommit = this.getCommit(branchStartCommit.parent);
971971
}
972-
972+
973973
branchStartCommit.isNoFFBranch = true;
974-
974+
975975
this.commit({parent2: mergeTarget.id, isNoFFCommit: true});
976976
} else if (this.isAncestor(currentCommit, mergeTarget)) {
977977
this.fastForward(mergeTarget);

js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ require.config({
5252
exports: 'd3'
5353
}
5454
}
55-
});
55+
});

memtest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ <h3><a id="start-test" href="#">Start Test</a></h3>
4141
</script>
4242
<h3><a href="index.html">Back to Home</a></h3>
4343
</body>
44-
</html>
44+
</html>

0 commit comments

Comments
 (0)