0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2024-12-23 06:13:47 +01:00

replace event dispatcher with mr doob's event dispatcher

This commit is contained in:
casperlamboo 2016-07-19 11:19:53 +02:00
parent a7bb60f461
commit 73a065af14
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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