Skip to content

Commit

Permalink
Add namespace definitions and import necessary modules in main.js, sy…
Browse files Browse the repository at this point in the history
…noApiProvider.js, and updateHelper.js
  • Loading branch information
T-REX-XP committed Feb 21, 2025
1 parent 1530415 commit e4a5416
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/src/tabs/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import {} from '../components/dialogs/uploadFileDialog';
import {} from '../utils/synoApiProvider';
import {} from '../utils/updateHelper';
export default Ext.define('SYNOCOMMUNITY.RRManager.Overview.Main', {
extend: 'SYNO.ux.Panel',
helper: SYNOCOMMUNITY.RRManager.Helper,
Expand Down
2 changes: 2 additions & 0 deletions src/src/utils/synoApiProvider.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Namespace definition
Ext.ns('SYNOCOMMUNITY.RRManager');
export default SYNOCOMMUNITY.RRManager.SynoApiProvider = {
sendWebAPI: null,
_prefix: '/webman/3rdparty/rr-manager/scripts/',
Expand Down
2 changes: 2 additions & 0 deletions src/src/utils/updateHelper.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Namespace definition
Ext.ns('SYNOCOMMUNITY.RRManager');
export default SYNOCOMMUNITY.RRManager.UpdateHelper = {
init: function (apiProvider, findAppWindow) {
this.apiProvider = apiProvider;
Expand Down

0 comments on commit e4a5416

Please sign in to comment.