git-101 / src /js /actions /CommandLineActions.js
mervenoyan's picture
initial commit
45a32e2
"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
});
}
};
module.exports = CommandLineActions;