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 33300 317ae9663d95
parent 33299 98ce18ce0ea7
child 33301 1337b98ae249
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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)];