mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-29 06:18:24 +02:00
added very importand function
This commit is contained in:
parent
dd32937549
commit
e671684e9a
1 changed files with 8 additions and 7 deletions
|
@ -1,19 +1,20 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var AppConstants = require('../constants/AppConstants');
|
var AppConstants = require("../constants/AppConstants");
|
||||||
var AppDispatcher = require('../dispatcher/AppDispatcher');
|
var AppDispatcher = require("../dispatcher/AppDispatcher");
|
||||||
|
|
||||||
var ActionTypes = AppConstants.ActionTypes;
|
var ActionTypes = AppConstants.ActionTypes;
|
||||||
|
|
||||||
var CommandLineActions = {
|
var CommandLineActions = {
|
||||||
|
submitCommand: function (text) {
|
||||||
submitCommand: function(text) {
|
|
||||||
AppDispatcher.handleViewAction({
|
AppDispatcher.handleViewAction({
|
||||||
type: ActionTypes.SUBMIT_COMMAND,
|
type: ActionTypes.SUBMIT_COMMAND,
|
||||||
text: text
|
text: text,
|
||||||
});
|
});
|
||||||
}
|
},
|
||||||
|
importantfuncition: function () {
|
||||||
|
console.log("important work");
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = CommandLineActions;
|
module.exports = CommandLineActions;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue