first commit
This commit is contained in:
13
webapp/utils/Utils.js
Normal file
13
webapp/utils/Utils.js
Normal file
@ -0,0 +1,13 @@
|
||||
sap.ui.define([], function () {
|
||||
"use strict";
|
||||
|
||||
return {
|
||||
padAndEncodeId: function (id) {
|
||||
return encodeURIComponent(id.padStart(9, "%20"));
|
||||
},
|
||||
|
||||
exampleUtility: function () {
|
||||
return "Hello from utility!";
|
||||
}
|
||||
};
|
||||
});
|
Reference in New Issue
Block a user