diff --git a/eslint-example/file.js b/eslint-example/file.js index 998c8da..098aa7b 100644 --- a/eslint-example/file.js +++ b/eslint-example/file.js @@ -1,5 +1,4 @@ /* exported getUsefulContents */ -// we cant use export here function getUsefulContents(callback) { callback('Hello World'); -} \ No newline at end of file +} diff --git a/eslint-example/main.js b/eslint-example/main.js index 9e480ba..3b2ea03 100644 --- a/eslint-example/main.js +++ b/eslint-example/main.js @@ -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); \ No newline at end of file +document.addEventListener('DOMContentLoaded', start);