mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
BOOM redid the command history view
This commit is contained in:
parent
855a0402d7
commit
9a266a3cc4
4 changed files with 113 additions and 88 deletions
|
@ -1,6 +1,7 @@
|
|||
var _ = require('underscore');
|
||||
var Backbone = require('backbone');
|
||||
var React = require('react');
|
||||
var CommandHistoryView = require('../react_views/CommandHistoryView.jsx');
|
||||
|
||||
var util = require('../util');
|
||||
var intl = require('../intl');
|
||||
|
@ -292,10 +293,13 @@ function CommandUI() {
|
|||
el: $('#commandLineBar')
|
||||
});
|
||||
|
||||
this.commandLineHistoryView = new CommandViews.CommandLineHistoryView({
|
||||
el: $('#commandLineHistory'),
|
||||
collection: this.commandCollection
|
||||
});
|
||||
React.render(
|
||||
React.createElement(
|
||||
CommandHistoryView,
|
||||
{ commandCollection: this.commandCollection }
|
||||
),
|
||||
document.getElementById('commandDisplay')
|
||||
);
|
||||
}
|
||||
|
||||
exports.getEvents = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue