mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Regenerate package-lock and dist files after PhantomJS removal
This commit is contained in:
9
dist/clipboard.js
vendored
9
dist/clipboard.js
vendored
@ -1,6 +1,6 @@
|
|||||||
/*!
|
/*!
|
||||||
* clipboard.js v2.0.4
|
* clipboard.js v2.0.4
|
||||||
* https://zenorocha.github.io/clipboard.js
|
* https://clipboardjs.com/
|
||||||
*
|
*
|
||||||
* Licensed MIT © Zeno Rocha
|
* Licensed MIT © Zeno Rocha
|
||||||
*/
|
*/
|
||||||
@ -273,10 +273,10 @@ var Clipboard = function (_Emitter) {
|
|||||||
var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];
|
var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];
|
||||||
|
|
||||||
var actions = typeof action === 'string' ? [action] : action;
|
var actions = typeof action === 'string' ? [action] : action;
|
||||||
var support = !!document.queryCommandSupported;
|
var support = !document.queryCommandSupported;
|
||||||
|
|
||||||
actions.forEach(function (action) {
|
actions.forEach(function (action) {
|
||||||
support = support && !!document.queryCommandSupported(action);
|
support = support && !document.queryCommandSupported(action);
|
||||||
});
|
});
|
||||||
|
|
||||||
return support;
|
return support;
|
||||||
@ -492,7 +492,7 @@ var ClipboardAction = function () {
|
|||||||
if (this.trigger) {
|
if (this.trigger) {
|
||||||
this.trigger.focus();
|
this.trigger.focus();
|
||||||
}
|
}
|
||||||
|
document.activeElement.blur();
|
||||||
window.getSelection().removeAllRanges();
|
window.getSelection().removeAllRanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -692,6 +692,7 @@ E.prototype = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
module.exports = E;
|
module.exports = E;
|
||||||
|
module.exports.TinyEmitter = E;
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
4
dist/clipboard.min.js
vendored
4
dist/clipboard.min.js
vendored
File diff suppressed because one or more lines are too long
5046
package-lock.json
generated
5046
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user