From cd5d38e1362d02feda3b6ecbf5e47d6ce80070c9 Mon Sep 17 00:00:00 2001 From: Alex Speller Date: Thu, 7 Jan 2016 19:31:13 +0000 Subject: [PATCH] Fix websocket adapter ES6 conversion --- ember_debug/adapters/websocket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); });