Skip to content

Commit

Permalink
Simplify bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Feb 15, 2024
1 parent c840448 commit c870d3d
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,27 +74,6 @@ window.ProcessMaker = {
};
window.Echo = {
listeners: [],
watcherMocks(body, response) {
this.listeners.forEach((listener) => {
setTimeout(() => {
listener.callback({
type: ".ProcessMaker\\Events\\ScriptResponseEvent",
watcher: body.watcher,
response
});
}, 1000);
});
},
eventMocks(event, response) {
this.listeners.forEach((listener) => {
setTimeout(() => {
listener.callback({
type: event,
response
});
}, 1000);
});
},
private() {
return {
notification(callback) {
Expand Down

0 comments on commit c870d3d

Please sign in to comment.