Browse Source

Inverse condition. Re-run the tests after restructuring code.

better-aggressive
Oskar Segersvärd 9 years ago
parent
commit
64479df905
  1. 2
      src/Module.js

2
src/Module.js

@ -25,7 +25,7 @@ class SyntheticDefaultDeclaration {
addReference ( reference ) {
// Don't change the name to `default`; it's not a valid identifier name.
if ( reference.name !== 'default' ) return;
if ( reference.name === 'default' ) return;
reference.declaration = this;
this.name = reference.name;

Loading…
Cancel
Save