Browse
For agents
About
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code
/
5.5.4
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code
v5.5.4
Switch version
5.5.4
5.5.3
3.1.0
3.2.0
3.2.1
3.3.0
3.4.0
3.4.1
3.4.2
3.4.3
3.5.0
3.5.1
3.5.2
3.6.0
3.7.0
3.8.0
3.8.1
3.8.2
3.8.3
4.0.0
4.0.2
4.0.3
4.0.4
4.0.5
4.1.0
All 79 releases
Overview
Code
copy-the-code
/
includes
/
gutenberg
/
blocks
/
copy-button
/
js
/
index.asset.php
index.asset.php
in Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code 5.5.4, at includes/gutenberg/blocks/copy-button/js/index.asset.php
25 lines
428 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
/**
3
* Block script dependencies.
4
*
5
*
@since
5.0.0
6
*
@package
Copy the Code
7
*/
8
9
$
block_json
=
file_get_contents
(
__DIR__
.
'
/../block.json
'
)
;
//
phpcs:ignore
10
$
block_json
=
json_decode
(
$
block_json
,
true
)
;
11
12
return
[
13
'
dependencies
'
=>
[
14
'
wp-blocks
'
,
15
'
wp-block-editor
'
,
16
'
wp-core-data
'
,
17
'
wp-element
'
,
18
'
wp-components
'
,
19
'
wp-data
'
,
20
'
wp-i18n
'
,
21
'
lodash
'
,
22
]
,
23
'
version
'
=>
$
block_json
[
'
version
'
]
,
24
]
;
25