mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 15:47:23 +02:00
parent
494e48863b
commit
cfe7db7422
2952 changed files with 2959 additions and 2957 deletions
|
@ -31,6 +31,8 @@ window.addEventListener('load', function() {
|
|||
);
|
||||
|
||||
const clipboard = new ClipboardJS('.btnClipboard', {
|
||||
// Not gonna use the shorthand as this file is sent down to browsers without transpiling.
|
||||
/* eslint-disable object-shorthand */
|
||||
target: function(trigger) {
|
||||
return trigger.parentNode.querySelector('code');
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue