p5.js-web-editor/client/modules/IDE/actions/files.js
2016-06-23 18:29:55 -04:00

9 lines
180 B
JavaScript

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