Browse Source

You get a newline!

YOU get a newline!
Everyone gets a newline!
contingency-plan
Mike Bostock 10 years ago
parent
commit
f3c8eeee0a
  1. 2
      src/Module.js

2
src/Module.js

@ -44,7 +44,7 @@ export default class Module {
});
this.statements = ast.body.map( node => {
const magicString = this.magicString.snip( node.start, node.end ).append( '\n' );
const magicString = this.magicString.snip( node.start, node.end ).prepend( '\n' ).append( '\n' );
return new Statement( node, magicString, this );
});
} catch ( err ) {

Loading…
Cancel
Save