pcottle.learnGitBranching/src/js/actions/CommandLineActions.js
2024-10-26 18:55:52 +02:00

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;