diff --git a/ember_debug/adapters/websocket.js b/ember_debug/adapters/websocket.js index c682a11dd1..73ecb28740 100644 --- a/ember_debug/adapters/websocket.js +++ b/ember_debug/adapters/websocket.js @@ -14,7 +14,7 @@ export default BasicAdapter.extend({ }), _listen() { - this.get('socket').on('emberInspectorMessage', function(message) { + this.get('socket').on('emberInspectorMessage', message => { run(() => { this._messageReceived(message); });