Bug 1518076 - Fix linting error in WeTransfer extension; rs=me DONTBUILD
authorGeoff Lankow <geoff@darktrojan.net>
Fri, 11 Jan 2019 10:31:25 +1300
changeset 34154 317ae9663d95ed0826464e2928056fd531f04d2f
parent 34153 98ce18ce0ea77abdf87ac67e78295989867e3f55
child 34155 1337b98ae2494cf054ffac1c682c1ed4b8abb993
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersme
bugs1518076
Bug 1518076 - Fix linting error in WeTransfer extension; rs=me DONTBUILD
mail/components/cloudfile/wetransfer/content/moments.js
--- a/mail/components/cloudfile/wetransfer/content/moments.js
+++ b/mail/components/cloudfile/wetransfer/content/moments.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+/* globals browser */
+
 (async () => {
   for (let element of document.querySelectorAll("[data-message]")) {
     element.textContent = browser.i18n.getMessage(element.dataset.message);
   }
 
   let resp = await fetch("https://backgrounds.wetransfer.net/moment/list.json");
   let items = await resp.json();
   let item = items[Math.floor(Math.random() * items.length)];