Skip to content

Commit 7d96e16

Browse files
1 parent 6a1c2e9 commit 7d96e16

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/webapp/Component.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models","z2ui5/cc/Server", "sap/ui/VersionInfo"
2-
], function (UIComponent, Models, Server, VersionInfo) {
1+
sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models","z2ui5/cc/Server", "sap/ui/VersionInfo", "z2ui5/cc/DebugTool"
2+
], function (UIComponent, Models, Server, VersionInfo, DebugTool) {
33
return UIComponent.extend("z2ui5.Component", {
44
metadata: {
55
manifest: "json"
@@ -35,7 +35,7 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models","z2ui5/cc/Server"
3535
document.addEventListener("keydown", function (zEvent) {
3636
if (zEvent?.ctrlKey && zEvent?.key === "F12") {
3737
if (!z2ui5.debugTool){
38-
z2ui5.debugTool = new z2ui5.cc.DebugTool();
38+
z2ui5.debugTool = new DebugTool();
3939
z2ui5.debugTool.show();
4040
} else {
4141
z2ui5.debugTool.close();

app/webapp/controller/View1.controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
sap.ui.define(["sap/ui/core/mvc/Controller", "sap/ui/core/mvc/XMLView", "sap/ui/model/json/JSONModel",
22
"sap/ui/core/BusyIndicator", "sap/m/MessageBox", "sap/m/MessageToast", "sap/ui/core/Fragment", "sap/m/BusyDialog",
3-
"sap/ui/VersionInfo", "z2ui5/cc/Server", "z2ui5/cc/DebugTool",
3+
"sap/ui/VersionInfo", "z2ui5/cc/Server",
44
],
55
function (Controller, XMLView, JSONModel, BusyIndicator, MessageBox, MessageToast, Fragment, mBusyDialog, VersionInfo,
6-
Server, DebugTool) {
6+
Server) {
77
"use strict";
88
return Controller.extend("z2ui5.controller.View1", {
99

0 commit comments

Comments
 (0)