UNPKG
nest-parrot
Version:
latest (0.6.27)
0.6.27
0.6.26
0.6.24
0.6.22
0.6.21
0.6.19
0.6.18
0.6.17
0.6.16
0.6.15
0.6.14
0.6.13
0.6.12
0.6.11
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.4
0.6.3
0.6.2
0.6.1
0.5.29
0.5.28
0.5.27
0.5.25
0.5.24
0.5.23
0.5.22
0.5.21
0.5.20
0.5.19
0.5.18
0.5.17
0.5.16
0.5.15
0.5.14
0.5.13
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.31
0.4.30
0.4.29
0.4.28
0.4.27
0.4.26
0.4.25
0.4.24
0.4.21
0.4.19
0.4.18
0.4.17
0.4.16
0.4.15
0.4.14
0.4.13
0.4.12
0.4.11
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.2
0.1.1
0.1.0
0.0.6
Parrot built on react
github.com/bradwoo8621/parrot
bradwoo8621/parrot
nest-parrot
/
src
/
js
/
parrot-post-define.jsx
8 lines
(7 loc)
•
266 B
JSX
View Raw
1
2
3
4
5
6
7
8
// only packaged in browser environment
(
function
(
window
, $pt
) {
// expose all components definition to window
if
(
typeof
DONT_EXPOSE_PARROT_TO_GLOBAL
===
'undefined'
||
DONT_EXPOSE_PARROT_TO_GLOBAL
!==
true
) { $pt.
exposeComponents
(
window
); } }(
window
, $pt));