@hkdigital/lib-core 0.4.74 → 0.4.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -101,6 +101,7 @@ export default class NetworkLoader {
|
|
|
101
101
|
this._url = url;
|
|
102
102
|
|
|
103
103
|
this.#state.onenter = (currentState) => {
|
|
104
|
+
console.debug(`loader:onenter [${this._url}] ${currentState}`);
|
|
104
105
|
this.state = currentState;
|
|
105
106
|
|
|
106
107
|
switch (currentState) {
|
|
@@ -326,6 +327,7 @@ export default class NetworkLoader {
|
|
|
326
327
|
// this._size = this._buffer.byteLength;
|
|
327
328
|
// }
|
|
328
329
|
|
|
330
|
+
console.debug(`loader:sending-LOADED [${this._url}]`);
|
|
329
331
|
this.#state.send(LOADED);
|
|
330
332
|
} catch (e) {
|
|
331
333
|
this.#state.send(ERROR, e);
|