From 2aa5e6e11b5367579a49e072303392b0385dfc7b Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 14 Jul 2015 18:06:41 -0400 Subject: [PATCH] remove const, so tests pass on old node --- test/function/top-level-side-effects-are-preserved/asap.js | 2 +- test/function/top-level-side-effects-are-preserved/config.js | 2 +- test/function/top-level-side-effects-are-preserved/defer.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/function/top-level-side-effects-are-preserved/asap.js b/test/function/top-level-side-effects-are-preserved/asap.js index 6b43f3a..8f6c39d 100644 --- a/test/function/top-level-side-effects-are-preserved/asap.js +++ b/test/function/top-level-side-effects-are-preserved/asap.js @@ -1 +1 @@ -export default function asap() {} +export default function asap () {} diff --git a/test/function/top-level-side-effects-are-preserved/config.js b/test/function/top-level-side-effects-are-preserved/config.js index c4470d2..74f0346 100644 --- a/test/function/top-level-side-effects-are-preserved/config.js +++ b/test/function/top-level-side-effects-are-preserved/config.js @@ -1 +1 @@ -export const config = {}; +export var config = {}; diff --git a/test/function/top-level-side-effects-are-preserved/defer.js b/test/function/top-level-side-effects-are-preserved/defer.js index 2ab1d6d..16b9643 100644 --- a/test/function/top-level-side-effects-are-preserved/defer.js +++ b/test/function/top-level-side-effects-are-preserved/defer.js @@ -1,5 +1,5 @@ import { config } from './config'; -export default function defer() { - config.async(); +export default function defer () { + config.async(); }