p5.js-web-editor/client/modules/IDE/actions/files.js
2016-06-22 15:58:23 -04:00

9 lines
No EOL
185 B
JavaScript

import * as ActionTypes from '../../../constants';
export function updateFile(name, content) {
return {
type: ActionTypes.CHANGE_SELECTED_FILE,
name: name,
content: content
}
}