0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2024-11-14 00:17:55 +01:00

change name of doodle3dapi to doodle3dbox

This commit is contained in:
casperlamboo 2016-04-21 15:30:07 +02:00
parent d49360f963
commit 5dac67d6e5
3 changed files with 12 additions and 12 deletions

View File

@ -1,14 +1,14 @@
import EventDispatcher from 'casperlamboo/EventDispatcher';
import ConfigAPI from './configapi.js';
import InfoAPI from './infoapi.js';
import NetworkAPI from './networkapi.js';
import PrinterAPI from './printerapi.js';
import SketchAPI from './sketchapi.js';
import SystemAPI from './systemapi.js';
import UpdateAPI from './updateapi.js';
import { sleep } from './utils.js';
import ConfigAPI from './api/config.js';
import InfoAPI from './api/info.js';
import NetworkAPI from './api/network.js';
import PrinterAPI from './api/printer.js';
import SketchAPI from './api/sketch.js';
import SystemAPI from './api/system.js';
import UpdateAPI from './api/update.js';
export default class extends EventDispatcher {
export default class Doodle3DBox extends EventDispatcher {
constructor (boxData) {
super();

View File

@ -1,5 +1,5 @@
import * as rest from './restapi.js';
import Doodle3DAPI from './doodle3dapi.js';
import Doodle3DBox from './doodle3dbox.js';
import EventDispatcher from 'casperlamboo/EventDispatcher';
import { sleep } from './utils.js';
@ -60,7 +60,7 @@ export default class Doodle3DManager extends EventDispatcher {
let changed = false;
for (const boxData of newBoxes) {
const box = new Doodle3DAPI(boxData);
const box = new Doodle3DBox(boxData);
this._addBox(box);
changed = true;

View File

@ -1,4 +1,4 @@
import Doodle3DManager from './doodle3dmanager.js';
import Doodle3DAPI from './doodle3dapi.js';
import Doodle3DBox from './doodle3dbox.js';
export { Doodle3DManager, Doodle3DAPI };
export { Doodle3DManager, Doodle3DBox };