UNPKG
enzyme
Version:
alpha (3.0.0)
backport-v2.4 (2.4.2)
backport-v2.5 (2.5.2)
latest (3.11.0)
next (3.0.0)
3.11.0
3.10.0
3.9.0
3.8.0
3.7.0
3.6.0
3.5.1
3.5.0
3.4.4
3.4.3
3.4.2
3.4.1
3.4.0
3.3.0
3.2.0
3.1.1
3.1.0
3.0.0
3.0.0-beta.7
3.0.0-beta.6
3.0.0-beta.5
3.0.0-beta.4
3.0.0-beta.3
3.0.0-beta.2
3.0.0-beta.1
3.0.0-alpha.1
2.9.1
2.9.0
2.8.2
2.8.1
2.8.0
2.7.1
2.7.0
2.6.0
2.5.2
2.5.1
2.5.0
2.4.2
2.4.1
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
2.0.0-rc1
1.6.0
1.5.0
1.4.1
1.4.0
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
JavaScript Testing utilities for React
github.com/airbnb/enzyme
airbnb/enzyme
enzyme
/
_book
/
gitbook
/
plugins
/
gitbook-plugin-codeblock-disable-glossary
/
disable-glossary.js
10 lines
(9 loc)
•
281 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
require
([
"gitbook"
],
function
(
gitbook
) { gitbook.
events
.
bind
(
"page.change"
,
function
(
) { $(
'pre .glossary-term'
) .
removeAttr
(
'href'
) .
removeAttr
(
'title'
) .
removeClass
(
'glossary-term'
) .
css
(
'text-decoration'
,
'none'
); }); });