This commit is contained in:
Zeno Rocha 2020-03-04 22:26:34 -08:00
parent e430d056ad
commit fddd2aac5f
5 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{
"name": "clipboard",
"version": "2.0.5",
"version": "2.0.6",
"description": "Modern copy to clipboard. No Flash. Just 3kb",
"license": "MIT",
"main": "dist/clipboard.js",

6
dist/clipboard.js vendored
View File

@ -1,5 +1,5 @@
/*!
* clipboard.js v2.0.5
* clipboard.js v2.0.6
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
@ -936,10 +936,10 @@ var clipboard_Clipboard = function (_Emitter) {
var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];
var actions = typeof action === 'string' ? [action] : action;
var support = !document.queryCommandSupported;
var support = !!document.queryCommandSupported;
actions.forEach(function (action) {
support = support && !document.queryCommandSupported(action);
support = support && !!document.queryCommandSupported(action);
});
return support;

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
Package.describe({
name: "zenorocha:clipboard",
summary: "Modern copy to clipboard. No Flash. Just 3kb.",
version: "2.0.5",
version: "2.0.6",
git: "https://github.com/zenorocha/clipboard.js"
});

View File

@ -1,6 +1,6 @@
{
"name": "clipboard",
"version": "2.0.5",
"version": "2.0.6",
"description": "Modern copy to clipboard. No Flash. Just 2kb",
"repository": "zenorocha/clipboard.js",
"license": "MIT",