mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
remove import comments
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
/* exported getUsefulContents */
|
||||
// we cant use export here
|
||||
function getUsefulContents(callback) {
|
||||
callback('Hello World');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/* global getUsefulContents */
|
||||
// not supported in Firefox
|
||||
// import { getUsefulContents } from "file";
|
||||
|
||||
function start() {
|
||||
getUsefulContents(data => {
|
||||
var display = document.getElementById('display');
|
||||
@@ -10,4 +7,4 @@ function start() {
|
||||
});
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', start);
|
||||
document.addEventListener('DOMContentLoaded', start);
|
||||
|
||||
Reference in New Issue
Block a user