From 0dcf4ac33d31290749fb1a70b0ccb383d4ab2802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Mon, 8 Aug 2016 13:35:53 +0200 Subject: [PATCH] chore(*): minor code style tweaks This is a followup to the migration to ESLint. Ref #14952 --- docs/app/assets/js/search-worker.js | 2 +- docs/app/src/.eslintrc.json | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/app/assets/js/search-worker.js b/docs/app/assets/js/search-worker.js index 22f3b6226a01..1292b3e1d380 100644 --- a/docs/app/assets/js/search-worker.js +++ b/docs/app/assets/js/search-worker.js @@ -26,7 +26,7 @@ searchDataRequest.onload = function() { searchData.forEach(function(page) { index.add(page); }); - postMessage({e: 'index-ready'}); + self.postMessage({e: 'index-ready'}); }; searchDataRequest.open('GET', 'search-data.json'); searchDataRequest.send(); diff --git a/docs/app/src/.eslintrc.json b/docs/app/src/.eslintrc.json index 247b283233ea..996bd7cbc4b5 100644 --- a/docs/app/src/.eslintrc.json +++ b/docs/app/src/.eslintrc.json @@ -3,10 +3,6 @@ "extends": "../../../.eslintrc-browser.json", "globals": { - // ngMocks - "module": false, - "inject": true, - "lunr": false } }