mike-jumper opened a new pull request #613:
URL: https://github.com/apache/guacamole-client/pull/613
This change migrates `Guacamole.Mouse` from the old-style `onthing` event
handlers:
```javascript
mouse.onmousedown =
mouse.onmouseup =
mouse.onmousemove = function sendMouseState(state) {
guac.sendMouseState(state);
};
```
to the new event stack:
```javascript
mouse.onEach(['mousedown', 'mouseup', 'mousemove'], function
sendMouseEvent(e) {
guac.sendMouseState(e.state);
});
```
To keep things reasonable for review, I've limited this body of changes to
only those necessary to migrate `Guacamole.Mouse`. Other PRs will follow for
other eventy parts of the Guacamole JavaScript API. ;)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]