started creating spreadsheet component
This commit is contained in:
17
app/actions/FIleActionsCreator.js
Normal file
17
app/actions/FIleActionsCreator.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Created by senadu on 12/22/14.
|
||||
*/
|
||||
|
||||
var CsvEditorDispatcher = require('../dispatcher/CsvEditorDispatcher');
|
||||
var CsvEditorConstants = require('../constants/CsvEditorConstants');
|
||||
|
||||
var ActionTypes = CsvEditorConstants.ActionTypes;
|
||||
|
||||
module.exports = {
|
||||
chooseFile: function(fileInput) {
|
||||
CsvEditorDispatcher.handleViewAction({
|
||||
type: ActionTypes.CHOOSE_FILE,
|
||||
target: fileInput
|
||||
})
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user