mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
helper bar now clickable pretty sure
This commit is contained in:
parent
e7d9b76b98
commit
af12fe19f0
4 changed files with 10 additions and 14 deletions
|
@ -1,11 +1,5 @@
|
|||
var _ = require('underscore');
|
||||
|
||||
var Git = require('../git');
|
||||
var Commit = Git.Commit;
|
||||
var Branch = Git.Branch;
|
||||
var Tag = Git.Tag;
|
||||
var Ref = Git.Ref;
|
||||
|
||||
function invariant(truthy, reason) {
|
||||
if (!truthy) {
|
||||
throw new Error(reason);
|
||||
|
@ -88,6 +82,7 @@ var Graph = {
|
|||
parentObjs.push(this.getOrMakeRecursive(tree, createdSoFar, parentID));
|
||||
}, this);
|
||||
|
||||
var Commit = require('../git').Commit;
|
||||
var commit = new Commit(_.extend(
|
||||
commitJSON,
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
var sys = require('sys');
|
||||
var util = require('../util');
|
||||
var _ = require('underscore');
|
||||
var child_process = require('child_process');
|
||||
var strings = require('../intl/strings').strings;
|
||||
|
@ -39,9 +40,11 @@ var processLines = function(lines) {
|
|||
});
|
||||
};
|
||||
|
||||
child_process.exec(
|
||||
searchCommand,
|
||||
function(err, output) {
|
||||
processLines(output.split('\n'));
|
||||
});
|
||||
if (!util.isBrowser()) {
|
||||
child_process.exec(
|
||||
searchCommand,
|
||||
function(err, output) {
|
||||
processLines(output.split('\n'));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue