From 4d975320c296d516d679b87681630838a4d0d4d2 Mon Sep 17 00:00:00 2001 From: ijlee2 Date: Thu, 5 Dec 2024 19:42:10 +0100 Subject: [PATCH] chore: Removed unused code --- .../component-that-uses-modal-dialog.hbs | 17 ----------------- .../component-that-uses-modal-dialog.js | 16 ---------------- 2 files changed, 33 deletions(-) delete mode 100644 tests/dummy/app/components/component-that-uses-modal-dialog.hbs delete mode 100644 tests/dummy/app/components/component-that-uses-modal-dialog.js diff --git a/tests/dummy/app/components/component-that-uses-modal-dialog.hbs b/tests/dummy/app/components/component-that-uses-modal-dialog.hbs deleted file mode 100644 index 08a4e259..00000000 --- a/tests/dummy/app/components/component-that-uses-modal-dialog.hbs +++ /dev/null @@ -1,17 +0,0 @@ -{{#if this.isShowingModalDialog}} - -

Stop! Modal Time!

- -
-{{/if}} - -

A component that has a modal dialog

- \ No newline at end of file diff --git a/tests/dummy/app/components/component-that-uses-modal-dialog.js b/tests/dummy/app/components/component-that-uses-modal-dialog.js deleted file mode 100644 index 65daa6fe..00000000 --- a/tests/dummy/app/components/component-that-uses-modal-dialog.js +++ /dev/null @@ -1,16 +0,0 @@ -import Component from '@ember/component'; -import { action, set } from '@ember/object'; - -export default class ComponentThatUsesModalDialog extends Component { - isShowingModalDialog = false; - - @action - openModalDialog() { - set(this, 'isShowingModalDialog', true); - } - - @action - closeModalDialog() { - set(this, 'isShowingModalDialog', false); - } -}