Skip to content

Commit 0dcf4ac

Browse files
committed
chore(*): minor code style tweaks
This is a followup to the migration to ESLint. Ref angular#14952
1 parent 3393aac commit 0dcf4ac

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

docs/app/assets/js/search-worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ searchDataRequest.onload = function() {
2626
searchData.forEach(function(page) {
2727
index.add(page);
2828
});
29-
postMessage({e: 'index-ready'});
29+
self.postMessage({e: 'index-ready'});
3030
};
3131
searchDataRequest.open('GET', 'search-data.json');
3232
searchDataRequest.send();

docs/app/src/.eslintrc.json

-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
"extends": "../../../.eslintrc-browser.json",
44

55
"globals": {
6-
// ngMocks
7-
"module": false,
8-
"inject": true,
9-
106
"lunr": false
117
}
128
}

0 commit comments

Comments
 (0)