| // Run legacy Javascript entry point |
| import '../../../contentScripts/publicThreadStart'; |
| import UiSpacingSharedStylesScript from '../../../features/uiSpacing/presentation/scripts/sharedStyles.script'; |
| import UiSpacingTwBasicStylesScript from '../../../features/uiSpacing/presentation/scripts/twBasicStyles.script'; |
| import ScriptRunner from '../../../infrastructure/presentation/scripts/ScriptRunner'; |
| import ScriptSorterAdapter from '../../../infrastructure/presentation/scripts/ScriptSorter.adapter'; |
| import { SortedScriptsProviderAdapter } from '../../../infrastructure/presentation/scripts/SortedScriptsProvider.adapter'; |
| const scriptRunner = createScriptRunner(); |
| function createScriptRunner() { |
| new SortedScriptsProviderAdapter( |
| // Individual feature scripts |
| new UiSpacingSharedStylesScript(), |
| new UiSpacingTwBasicStylesScript(), |
| new ScriptSorterAdapter(), |