diff --git a/jspm.config.js b/jspm.config.js index 8856ab1..b319e1d 100644 --- a/jspm.config.js +++ b/jspm.config.js @@ -27,11 +27,6 @@ SystemJS.config({ } }, transpiler: "plugin-babel", - babelOptions: { - "optional": [ - "runtime" - ] - }, packages: { "slicer": { "main": "index.js" @@ -52,9 +47,9 @@ SystemJS.config({ "github:*/*.json" ], map: { + "EventDispatcher": "github:mrdoob/eventdispatcher.js@1.0.0", "json": "github:systemjs/plugin-json@0.1.2", "Doodle3D/clipper-js": "github:Doodle3D/clipper-js@master", - "casperlamboo/EventDispatcher": "github:casperlamboo/EventDispatcher@master", "three.js": "github:mrdoob/three.js@r72" }, packages: { diff --git a/package.json b/package.json index f8f88fe..7b4d08a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "Doodle3D/clipper-js": "github:Doodle3D/clipper-js@master", - "casperlamboo/EventDispatcher": "github:casperlamboo/EventDispatcher@master", + "EventDispatcher": "github:mrdoob/eventdispatcher.js@^1.0.0", "json": "github:systemjs/plugin-json@^0.1.2", "three.js": "github:mrdoob/three.js@r72" }, diff --git a/src/slicer.js b/src/slicer.js index ea2b8e0..9ccd5f8 100644 --- a/src/slicer.js +++ b/src/slicer.js @@ -1,5 +1,5 @@ import THREE from 'three.js'; -import EventDispatcher from 'casperlamboo/EventDispatcher'; +import EventDispatcher from 'EventDispatcher'; import calculateLayersIntersections from './sliceActions/calculateLayersIntersections.js'; import createLines from './sliceActions/createLines.js'; import generateInfills from './sliceActions/generateInfills.js';