mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-31 23:40:27 +02:00
20 lines
398 B
JavaScript
20 lines
398 B
JavaScript
"use strict";
|
|
|
|
var AppConstants = require('../constants/AppConstants');
|
|
var AppDispatcher = require('../dispatcher/AppDispatcher');
|
|
|
|
var ActionTypes = AppConstants.ActionTypes;
|
|
|
|
var CommandLineActions = {
|
|
|
|
submitCommand: function(text) {
|
|
AppDispatcher.handleViewAction({
|
|
type: ActionTypes.SUBMIT_COMMAND,
|
|
text: text
|
|
});
|
|
}
|
|
|
|
}; history
|
|
|
|
|
|
module.exports = CommandLineActions;
|