Skip to content

Commit bf9510a

Browse files
authored
Merge pull request #3466 from projectblacklight/import-modal-form
[8.x] Import and export modalForm.js so it is included in the rollup build
2 parents 2704892 + d7b5cb1 commit bf9510a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/javascript/blacklight/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import BookmarkToggle from 'blacklight/bookmark_toggle'
22
import ButtonFocus from 'blacklight/button_focus'
33
import Modal from 'blacklight/modal'
4+
import ModalForm from 'blacklight/modalForm'
45
import SearchContext from 'blacklight/search_context'
56
import Core from 'blacklight/core'
67

78
export default {
89
BookmarkToggle,
910
ButtonFocus,
1011
Modal,
12+
ModalForm,
1113
SearchContext,
1214
Core,
1315
onLoad: Core.onLoad

app/javascript/blacklight/modal.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
can be a turbo-stream that defines some HTML fragementsand where on the page to put them:
5353
https://turbo.hotwired.dev/handbook/streams
5454
*/
55-
import ModalForm from 'blacklight/modalForm'
5655

5756
const Modal = (() => {
5857
const modal = {}

0 commit comments

Comments
 (0)