salix/client/helpers/watcherHelper.js

18 lines
366 B
JavaScript
Raw Normal View History

module.exports.watcher = {
2018-09-24 12:51:27 +00:00
submit: () => {
return new Promise(accept => {
accept();
});
},
realSubmit: () => {
return new Promise(accept => {
accept();
});
},
check: () => {},
notifySaved: () => {},
setDirty: () => {},
2018-09-19 13:05:07 +00:00
setPristine: () => {},
updateOriginalData: () => {}
};