lib/condenser/processors/node_modules/regenerator-transform/src/leap.js in condenser-0.0.4 vs lib/condenser/processors/node_modules/regenerator-transform/src/leap.js in condenser-0.0.5

- old
+ new

@@ -4,12 +4,13 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import assert from "assert"; +import { Emitter } from "./emit"; import { inherits } from "util"; -import { getTypes } from "./util.js"; +import { getTypes } from "./util"; function Entry() { assert.ok(this instanceof Entry); } @@ -125,10 +126,9 @@ exports.LabeledEntry = LabeledEntry; function LeapManager(emitter) { assert.ok(this instanceof LeapManager); - let Emitter = require("./emit").Emitter; assert.ok(emitter instanceof Emitter); this.emitter = emitter; this.entryStack = [new FunctionEntry(emitter.finalLoc)]; }