1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-02-14 21:10:25 +01:00

Merge pull request #46 from kremalicious/greenkeeper/clipboard-2.0.0

Update clipboard to the latest version 🚀
This commit is contained in:
Matthias Kretschmann 2018-03-01 13:18:47 +01:00 committed by GitHub
commit 69bace9942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
// Vex modals // Vex modals
// //
/* global vex, fetch, Clipboard, QRious */ /* global vex, fetch, ClipboardJS, QRious */
/* exported krlcModals */ /* exported krlcModals */
/* eslint-disable spaced-comment */ /* eslint-disable spaced-comment */
@ -79,7 +79,7 @@ const krlcModals = (() => { // eslint-disable-line no-unused-vars
qrEth.set(qrOptions) qrEth.set(qrOptions)
// Clipboard button // Clipboard button
const clipboard = new Clipboard('.btn') const clipboard = new ClipboardJS('.btn')
clipboard.on('success', e => { clipboard.on('success', e => {
e.trigger.classList.add('success') e.trigger.classList.add('success')

View File

@ -39,7 +39,7 @@
}, },
"dependencies": { "dependencies": {
"@webcomponents/webcomponentsjs": "^1.1.0", "@webcomponents/webcomponentsjs": "^1.1.0",
"clipboard": "^1.7.1", "clipboard": "^2.0.0",
"exif-js": "^2.3.0", "exif-js": "^2.3.0",
"normalize-css": "^2.3.1", "normalize-css": "^2.3.1",
"normalize-opentype.css": "^0.2.4", "normalize-opentype.css": "^0.2.4",