Fix linting.

Fix linting.

From d4aaa968bb06e371a2c58dcbc84485856994ac2a Mon Sep 17 00:00:00 2001
From: Guo Xiang Tan <tgx_world@hotmail.com>
Date: Mon, 26 Nov 2018 09:38:22 +0800
Subject: [PATCH] Fix linting.


diff --git a/app/assets/javascripts/discourse/components/composer-editor.js.es6 b/app/assets/javascripts/discourse/components/composer-editor.js.es6
index 090e757..bfb3a91 100644
--- a/app/assets/javascripts/discourse/components/composer-editor.js.es6
+++ b/app/assets/javascripts/discourse/components/composer-editor.js.es6
@@ -995,13 +995,15 @@ export default Ember.Component.extend({
       resolveAllShortUrls(ajax);
 
       let inline = {};
-      $(`a.${INLINE_ONEBOX_LOADING_CSS_CLASS}`, $preview).each((index, link) => {
-        const $link = $(link);
-        $link.removeClass(INLINE_ONEBOX_LOADING_CSS_CLASS);
-        const text = $link.text();
-        inline[text] = inline[text] || [];
-        inline[text].push($link);
-      });
+      $(`a.${INLINE_ONEBOX_LOADING_CSS_CLASS}`, $preview).each(
+        (index, link) => {
+          const $link = $(link);
+          $link.removeClass(INLINE_ONEBOX_LOADING_CSS_CLASS);
+          const text = $link.text();
+          inline[text] = inline[text] || [];
+          inline[text].push($link);
+        }
+      );
       if (Object.keys(inline).length > 0) {
         Ember.run.debounce(this, this._loadInlineOneboxes, inline, 450);
       }

GitHub