From e671684e9a27453fe8ecfeabda96c4871ddbee05 Mon Sep 17 00:00:00 2001 From: jacob Date: Mon, 11 Sep 2023 11:25:29 +0200 Subject: [PATCH] added very importand function --- src/js/actions/CommandLineActions.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/js/actions/CommandLineActions.js b/src/js/actions/CommandLineActions.js index e73e46ea..1099fbb1 100644 --- a/src/js/actions/CommandLineActions.js +++ b/src/js/actions/CommandLineActions.js @@ -1,19 +1,20 @@ "use strict"; -var AppConstants = require('../constants/AppConstants'); -var AppDispatcher = require('../dispatcher/AppDispatcher'); +var AppConstants = require("../constants/AppConstants"); +var AppDispatcher = require("../dispatcher/AppDispatcher"); var ActionTypes = AppConstants.ActionTypes; var CommandLineActions = { - - submitCommand: function(text) { + submitCommand: function (text) { AppDispatcher.handleViewAction({ type: ActionTypes.SUBMIT_COMMAND, - text: text + text: text, }); - } - + }, + importantfuncition: function () { + console.log("important work"); + }, }; module.exports = CommandLineActions;