mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-12-22 22:03:48 +01:00
replace event dispatcher with mr doob's event dispatcher
This commit is contained in:
parent
a7bb60f461
commit
73a065af14
@ -43,7 +43,7 @@ SystemJS.config({
|
|||||||
"github:*/*.json"
|
"github:*/*.json"
|
||||||
],
|
],
|
||||||
map: {
|
map: {
|
||||||
"casperlamboo/EventDispatcher": "github:casperlamboo/EventDispatcher@master",
|
"EventDispatcher": "github:mrdoob/eventdispatcher.js@1.0.0",
|
||||||
"github/fetch": "github:github/fetch@0.9.0",
|
"github/fetch": "github:github/fetch@0.9.0",
|
||||||
"jquery": "github:components/jquery@2.2.4"
|
"jquery": "github:components/jquery@2.2.4"
|
||||||
},
|
},
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"lib": "src"
|
"lib": "src"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"casperlamboo/EventDispatcher": "github:casperlamboo/EventDispatcher@master",
|
"EventDispatcher": "github:mrdoob/eventdispatcher.js@^1.0.0",
|
||||||
"github/fetch": "github:github/fetch@^0.9.0",
|
"github/fetch": "github:github/fetch@^0.9.0",
|
||||||
"jquery": "github:components/jquery@^2.1.4"
|
"jquery": "github:components/jquery@^2.1.4"
|
||||||
},
|
},
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import EventDispatcher from 'casperlamboo/EventDispatcher';
|
import EventDispatcher from 'EventDispatcher';
|
||||||
import { sleep } from './utils.js';
|
import { sleep } from './utils.js';
|
||||||
import ConfigAPI from './api/config.js';
|
import ConfigAPI from './api/config.js';
|
||||||
import InfoAPI from './api/info.js';
|
import InfoAPI from './api/info.js';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import * as rest from './rest.js';
|
import * as rest from './rest.js';
|
||||||
import Doodle3DBox from './doodle3dbox.js';
|
import Doodle3DBox from './doodle3dbox.js';
|
||||||
import EventDispatcher from 'casperlamboo/EventDispatcher';
|
import EventDispatcher from 'EventDispatcher';
|
||||||
import { sleep } from './utils.js';
|
import { sleep } from './utils.js';
|
||||||
|
|
||||||
export default class Doodle3DManager extends EventDispatcher {
|
export default class Doodle3DManager extends EventDispatcher {
|
||||||
|
Loading…
Reference in New Issue
Block a user