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 _ = 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) { function invariant(truthy, reason) {
if (!truthy) { if (!truthy) {
throw new Error(reason); throw new Error(reason);
@ -88,6 +82,7 @@ var Graph = {
parentObjs.push(this.getOrMakeRecursive(tree, createdSoFar, parentID)); parentObjs.push(this.getOrMakeRecursive(tree, createdSoFar, parentID));
}, this); }, this);
var Commit = require('../git').Commit;
var commit = new Commit(_.extend( var commit = new Commit(_.extend(
commitJSON, commitJSON,
{ {

View file

@ -1,4 +1,5 @@
var sys = require('sys'); var sys = require('sys');
var util = require('../util');
var _ = require('underscore'); var _ = require('underscore');
var child_process = require('child_process'); var child_process = require('child_process');
var strings = require('../intl/strings').strings; var strings = require('../intl/strings').strings;
@ -39,9 +40,11 @@ var processLines = function(lines) {
}); });
}; };
child_process.exec( if (!util.isBrowser()) {
child_process.exec(
searchCommand, searchCommand,
function(err, output) { function(err, output) {
processLines(output.split('\n')); processLines(output.split('\n'));
}); });
}

View file

@ -211,7 +211,6 @@ body.hgMode #mainVisSpace .modeText.hgMode {
/* Some interface things */ /* Some interface things */
div.canvasTerminalHolder { div.canvasTerminalHolder {
width: 100%;
height: 100%; height: 100%;
position: fixed; position: fixed;
top: 0; top: 0;
@ -300,6 +299,7 @@ div.canvasTerminalHolder > div.terminal-window-holder div.inside {
div.canvasTerminalHolder > div.terminal-window-holder { div.canvasTerminalHolder > div.terminal-window-holder {
max-width: 500px; max-width: 500px;
min-width: 500px;
} }
/* Toolbar */ /* Toolbar */

View file

@ -184,8 +184,6 @@
</div> </div>
</div> </div>
</div> </div>
<div class="box flex3">
</div>
</script> </script>
<script type="text/html" id="terminal-window-template"> <script type="text/html" id="terminal-window-template">