mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-13 16:45:14 +01:00
Merge pull request #46 from kremalicious/greenkeeper/clipboard-2.0.0
Update clipboard to the latest version 🚀
This commit is contained in:
commit
69bace9942
@ -2,7 +2,7 @@
|
||||
// Vex modals
|
||||
//
|
||||
|
||||
/* global vex, fetch, Clipboard, QRious */
|
||||
/* global vex, fetch, ClipboardJS, QRious */
|
||||
/* exported krlcModals */
|
||||
|
||||
/* eslint-disable spaced-comment */
|
||||
@ -79,7 +79,7 @@ const krlcModals = (() => { // eslint-disable-line no-unused-vars
|
||||
qrEth.set(qrOptions)
|
||||
|
||||
// Clipboard button
|
||||
const clipboard = new Clipboard('.btn')
|
||||
const clipboard = new ClipboardJS('.btn')
|
||||
|
||||
clipboard.on('success', e => {
|
||||
e.trigger.classList.add('success')
|
||||
|
@ -39,7 +39,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@webcomponents/webcomponentsjs": "^1.1.0",
|
||||
"clipboard": "^1.7.1",
|
||||
"clipboard": "^2.0.0",
|
||||
"exif-js": "^2.3.0",
|
||||
"normalize-css": "^2.3.1",
|
||||
"normalize-opentype.css": "^0.2.4",
|
||||
|
Loading…
Reference in New Issue
Block a user