helper bar now clickable pretty sure

This commit is contained in:
Peter Cottle 2013-12-27 10:14:29 -08:00
parent e7d9b76b98
commit af12fe19f0
4 changed files with 10 additions and 14 deletions

View file

@ -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,
{

View file

@ -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'));
});
}