From 6c4e7c8bc0f23f4b38ce2b5df2092b86ca67b9cd Mon Sep 17 00:00:00 2001 From: iampeterbanjo Date: Sat, 19 Nov 2016 05:34:07 +0000 Subject: [PATCH] remove import comments --- eslint-example/file.js | 3 +-- eslint-example/main.js | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) 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);