Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
added 164 characters in body
Source Link
Alexander
  • 20.3k
  • 21
  • 86
  • 172

You can try around with Ext.Loader.setPath.

The easiest and standard-conforming way would be to define your settings as MyApp.settings.Settings and then use

Ext.Loader.setPath('MyApp.settings', 'settings'); Ext.require('MyApp.settings.Settings'); 

Alternatively, you can use Ext.Loader.loadScript and provide the path and file name.

You can try around with Ext.Loader.setPath.

The easiest and standard-conforming way would be to define your settings as MyApp.settings.Settings and then use

Ext.Loader.setPath('MyApp.settings', 'settings'); Ext.require('MyApp.settings.Settings'); 

You can try around with Ext.Loader.setPath.

The easiest and standard-conforming way would be to define your settings as MyApp.settings.Settings and then use

Ext.Loader.setPath('MyApp.settings', 'settings'); Ext.require('MyApp.settings.Settings'); 

Alternatively, you can use Ext.Loader.loadScript and provide the path and file name.

Source Link
Alexander
  • 20.3k
  • 21
  • 86
  • 172

You can try around with Ext.Loader.setPath.

The easiest and standard-conforming way would be to define your settings as MyApp.settings.Settings and then use

Ext.Loader.setPath('MyApp.settings', 'settings'); Ext.require('MyApp.settings.Settings');