Skip to content

Commit

Permalink
Test data-confirm-modal
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Mar 11, 2021
1 parent 3b0031a commit 7764480
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/javascript/packs/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ require('@rails/ujs').start()
require('turbolinks').start()
require('@rails/activestorage').start()
require('channels')
require('data-confirm-modal')
3 changes: 3 additions & 0 deletions app/views/pages/home.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ ul.list-inline.lead
li.list-inline-item
| Font Awesome (SVG)
small.text-muted< 5.15.2

a.btn.btn-primary data-confirm="Big Hi" href="#"
| Ciao
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@rails/ujs": "6.1.3",
"@rails/webpacker": "^5.2.1",
"bootstrap": "^4.6.0",
"data-confirm-modal": "^1.6.2",
"exports-loader": "^1.1.1",
"jquery": "^3.6.0",
"popper.js": "^1.16.1",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2756,6 +2756,11 @@ dashdash@^1.12.0:
dependencies:
assert-plus "^1.0.0"

data-confirm-modal@^1.6.2:
version "1.6.2"
resolved "https://registry.yarnpkg.com/data-confirm-modal/-/data-confirm-modal-1.6.2.tgz#81fc8ea298cfd9311d066915d1710b3cfa57d96b"
integrity sha512-UYYgx8hS65X8Y336YRp1x6A5Gfkhh4iYkLq5jw7oS++hTcq/3yO8JOrbfHvvr7qqqQxBSPRyvUXnFEFIr4ja4w==

debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.9:
version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
Expand Down

1 comment on commit 7764480

@tagliala
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Please sign in to comment.