p5.js-web-editor/client/modules/IDE/actions/files.js
2016-07-07 13:50:52 -04:00

9 lines
186 B
JavaScript

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