Browse Source

remove const, so tests pass on old node

contingency-plan
Rich Harris 10 years ago
parent
commit
2aa5e6e11b
  1. 2
      test/function/top-level-side-effects-are-preserved/asap.js
  2. 2
      test/function/top-level-side-effects-are-preserved/config.js
  3. 4
      test/function/top-level-side-effects-are-preserved/defer.js

2
test/function/top-level-side-effects-are-preserved/asap.js

@ -1 +1 @@
export default function asap() {}
export default function asap () {}

2
test/function/top-level-side-effects-are-preserved/config.js

@ -1 +1 @@
export const config = {};
export var config = {};

4
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();
}

Loading…
Cancel
Save