diff --git a/src/application/Application.ts b/src/application/Application.ts index ddc71ba..ae13ec7 100644 --- a/src/application/Application.ts +++ b/src/application/Application.ts @@ -6,6 +6,7 @@ import { execute as applicationGotoViewUseCase } from "./Application/usecase/App import { execute as contextRunService } from "./Context/service/ContextRunService"; import { $getConfig } from "./variable/Config"; import { $getContext } from "./variable/Context"; +import { response } from "../infrastructure/Response/variable/Response"; /** * @description シーン遷移のコントロールを行うクラス。 @@ -99,4 +100,17 @@ export class Application { return $getContext(); } + + /** + * @description configで設定したリクエストのレスポンスマップを返却します + * Returns the response map of the request set in config + * + * @returns {Map} + * @method + * @public + */ + getResponse (): Map + { + return response; + } } \ No newline at end of file diff --git a/src/domain/loading/DefaultLoading/service/DefaultLoaderEndService.ts b/src/domain/loading/DefaultLoading/service/DefaultLoaderEndService.ts index 59ae1f7..af9f721 100644 --- a/src/domain/loading/DefaultLoading/service/DefaultLoaderEndService.ts +++ b/src/domain/loading/DefaultLoading/service/DefaultLoaderEndService.ts @@ -21,10 +21,10 @@ export const execute = (default_loader: DefaultLoader): void => continue ; } - const expandJob = sprite.getLocalVariable("expandJob") as Job; + const expandJob = shape.getLocalVariable("expandJob") as Job; expandJob.stop(); - const reduceJob = sprite.getLocalVariable("reduceJob") as Job; + const reduceJob = shape.getLocalVariable("reduceJob") as Job; reduceJob.stop(); } diff --git a/src/view/ViewModel.ts b/src/view/ViewModel.ts index 78d6560..5c9b4be 100644 --- a/src/view/ViewModel.ts +++ b/src/view/ViewModel.ts @@ -14,14 +14,12 @@ export class ViewModel * Called at the timing when the root Sprite is attached. * * @param {View} view - * @return {Promise} + * @return {Promise} * @method * @abstract */ - async bind (view: View): Promise - { - return view; - } + // eslint-disable-next-line unused-imports/no-unused-vars + async bind (view: View): Promise { return void 0 } /** * @description 新しいViewクラスがアタッチされる前にコールされます。