mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 03:23:48 +01:00
replace event dispatcher
This commit is contained in:
parent
d016aa345b
commit
5f2a3a6328
@ -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: {
|
||||
|
@ -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"
|
||||
},
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user