replace event dispatcher

This commit is contained in:
casperlamboo 2016-07-19 14:32:48 +02:00 committed by Simon Voordouw
parent b3b03df255
commit a4d345b018
3 changed files with 3 additions and 8 deletions

View File

@ -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: {

View File

@ -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"
},

View File

@ -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';