Skip to content

Commit

Permalink
Regenerate package-lock and dist files after PhantomJS removal
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha committed Feb 29, 2020
1 parent 83824fa commit d3fc3c1
Show file tree
Hide file tree
Showing 3 changed files with 3,339 additions and 4,260 deletions.
9 changes: 5 additions & 4 deletions dist/clipboard.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* clipboard.js v2.0.4
* https://zenorocha.github.io/clipboard.js
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
Expand Down Expand Up @@ -273,10 +273,10 @@ var 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;
Expand Down Expand Up @@ -492,7 +492,7 @@ var ClipboardAction = function () {
if (this.trigger) {
this.trigger.focus();
}

document.activeElement.blur();
window.getSelection().removeAllRanges();
}

Expand Down Expand Up @@ -692,6 +692,7 @@ E.prototype = {
};

module.exports = E;
module.exports.TinyEmitter = E;


/***/ }),
Expand Down
Loading

0 comments on commit d3fc3c1

Please sign in to comment.