@@ -16,14 +16,14 @@ |
||
| 16 | 16 | |
| 17 | 17 | /** @template-implements IEventListener<LoadSidebar> */ |
| 18 | 18 | class LoadSidebarListener implements IEventListener { |
| 19 | - public function handle(Event $event): void { |
|
| 20 | - if (!($event instanceof LoadSidebar)) { |
|
| 21 | - return; |
|
| 22 | - } |
|
| 19 | + public function handle(Event $event): void { |
|
| 20 | + if (!($event instanceof LoadSidebar)) { |
|
| 21 | + return; |
|
| 22 | + } |
|
| 23 | 23 | |
| 24 | - // TODO: make sure to only include the sidebar script when |
|
| 25 | - // we properly split it between files list and sidebar |
|
| 26 | - Util::addStyle(Application::APP_ID, 'sidebar-tab'); |
|
| 27 | - Util::addScript(Application::APP_ID, 'sidebar-tab'); |
|
| 28 | - } |
|
| 24 | + // TODO: make sure to only include the sidebar script when |
|
| 25 | + // we properly split it between files list and sidebar |
|
| 26 | + Util::addStyle(Application::APP_ID, 'sidebar-tab'); |
|
| 27 | + Util::addScript(Application::APP_ID, 'sidebar-tab'); |
|
| 28 | + } |
|
| 29 | 29 | } |
@@ -16,14 +16,14 @@ |
||
| 16 | 16 | |
| 17 | 17 | /** @template-implements IEventListener<LoadAdditionalScriptsEvent> */ |
| 18 | 18 | class LoadAdditionalListener implements IEventListener { |
| 19 | - public function handle(Event $event): void { |
|
| 20 | - if (!($event instanceof LoadAdditionalScriptsEvent)) { |
|
| 21 | - return; |
|
| 22 | - } |
|
| 19 | + public function handle(Event $event): void { |
|
| 20 | + if (!($event instanceof LoadAdditionalScriptsEvent)) { |
|
| 21 | + return; |
|
| 22 | + } |
|
| 23 | 23 | |
| 24 | - // TODO: make sure to only include the sidebar script when |
|
| 25 | - // we properly split it between files list and sidebar |
|
| 26 | - Util::addStyle(Application::APP_ID, 'sidebar-tab'); |
|
| 27 | - Util::addScript(Application::APP_ID, 'sidebar-tab'); |
|
| 28 | - } |
|
| 24 | + // TODO: make sure to only include the sidebar script when |
|
| 25 | + // we properly split it between files list and sidebar |
|
| 26 | + Util::addStyle(Application::APP_ID, 'sidebar-tab'); |
|
| 27 | + Util::addScript(Application::APP_ID, 'sidebar-tab'); |
|
| 28 | + } |
|
| 29 | 29 | } |