1
0
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:
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
//
/* 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')

View File

@ -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",