mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-26 15:34:57 +01:00
replace event dispatcher
This commit is contained in:
parent
b3b03df255
commit
a4d345b018
@ -27,11 +27,6 @@ SystemJS.config({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
transpiler: "plugin-babel",
|
transpiler: "plugin-babel",
|
||||||
babelOptions: {
|
|
||||||
"optional": [
|
|
||||||
"runtime"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
packages: {
|
packages: {
|
||||||
"slicer": {
|
"slicer": {
|
||||||
"main": "index.js"
|
"main": "index.js"
|
||||||
@ -52,9 +47,9 @@ SystemJS.config({
|
|||||||
"github:*/*.json"
|
"github:*/*.json"
|
||||||
],
|
],
|
||||||
map: {
|
map: {
|
||||||
|
"EventDispatcher": "github:mrdoob/eventdispatcher.js@1.0.0",
|
||||||
"json": "github:systemjs/plugin-json@0.1.2",
|
"json": "github:systemjs/plugin-json@0.1.2",
|
||||||
"Doodle3D/clipper-js": "github:Doodle3D/clipper-js@master",
|
"Doodle3D/clipper-js": "github:Doodle3D/clipper-js@master",
|
||||||
"casperlamboo/EventDispatcher": "github:casperlamboo/EventDispatcher@master",
|
|
||||||
"three.js": "github:mrdoob/three.js@r72"
|
"three.js": "github:mrdoob/three.js@r72"
|
||||||
},
|
},
|
||||||
packages: {
|
packages: {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Doodle3D/clipper-js": "github:Doodle3D/clipper-js@master",
|
"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",
|
"json": "github:systemjs/plugin-json@^0.1.2",
|
||||||
"three.js": "github:mrdoob/three.js@r72"
|
"three.js": "github:mrdoob/three.js@r72"
|
||||||
},
|
},
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import THREE from 'three.js';
|
import THREE from 'three.js';
|
||||||
import EventDispatcher from 'casperlamboo/EventDispatcher';
|
import EventDispatcher from 'EventDispatcher';
|
||||||
import calculateLayersIntersections from './sliceActions/calculateLayersIntersections.js';
|
import calculateLayersIntersections from './sliceActions/calculateLayersIntersections.js';
|
||||||
import createLines from './sliceActions/createLines.js';
|
import createLines from './sliceActions/createLines.js';
|
||||||
import generateInfills from './sliceActions/generateInfills.js';
|
import generateInfills from './sliceActions/generateInfills.js';
|
||||||
|
Loading…
Reference in New Issue
Block a user