mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-24 10:12:49 +02:00
mv .gitignore. fix indents. update eslint config. use export and global to fix eslint errors
This commit is contained in:
+10
-9
@@ -1,12 +1,13 @@
|
||||
// not supported in Firefox
|
||||
// import { getUsefulContents } from "file";
|
||||
/* global getUsefulContents */
|
||||
// not supported in Firefox
|
||||
// import { getUsefulContents } from "file";
|
||||
|
||||
function start() {
|
||||
getUsefulContents(data => {
|
||||
var display = document.getElementById('display');
|
||||
function start() {
|
||||
getUsefulContents(data => {
|
||||
var display = document.getElementById('display');
|
||||
|
||||
display.innerHTML = data;
|
||||
});
|
||||
}
|
||||
display.innerHTML = data;
|
||||
});
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', start);
|
||||
document.addEventListener('DOMContentLoaded', start);
|
||||
Reference in New Issue
Block a user