Skip to content

Commit

Permalink
Update zcl_a2ui5_my_custom_control.clas.abap
Browse files Browse the repository at this point in the history
  • Loading branch information
oblomov-dev authored Dec 24, 2023
1 parent 0b791da commit 385f0fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/zcl_a2ui5_my_custom_control.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ CLASS zcl_a2ui5_my_custom_control IMPLEMENTATION.

METHOD get_js.

result = `jQuery.sap.declare("z2ui5.MyCustomControl");` && |\n| &&
`sap.ui.require([` && |\n| &&
result = `sap.ui.define("z2ui5/MyCustomControl", [` && |\n| &&
` "sap/ui/core/Control"` && |\n| &&
`], (Control) => {` && |\n| &&
` "use strict";` && |\n| &&
Expand Down

0 comments on commit 385f0fa

Please sign in to comment.