salix/client/helpers/watcherHelper.js

18 lines
366 B
JavaScript

module.exports.watcher = {
submit: () => {
return new Promise(accept => {
accept();
});
},
realSubmit: () => {
return new Promise(accept => {
accept();
});
},
check: () => {},
notifySaved: () => {},
setDirty: () => {},
setPristine: () => {},
updateOriginalData: () => {}
};