Commit 47eba793 authored by Jérome Perrin's avatar Jérome Perrin

graph_editor: update to support recent renderjs

RSVP.Monitor no longer exist.

Use the gadget's own monitor instead (not sure it is safe)
parent e705e5d0
...@@ -826,13 +826,12 @@ ...@@ -826,13 +826,12 @@
Container: this.props.main Container: this.props.main
}); });
draggable(gadget); draggable(gadget);
this.props.nodes_click_monitor = RSVP.Monitor(); this.props.nodes_click_monitor = this.__monitor;
return RSVP.all([waitForDrop(gadget), return RSVP.all([waitForDrop(gadget),
waitForConnection(gadget), waitForConnection(gadget),
waitForConnectionDetached(gadget), waitForConnectionDetached(gadget),
waitForConnectionClick(gadget), waitForConnectionClick(gadget)
gadget.props.nodes_click_monitor
]); ]);
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment