UNPKG
noflo
Version:
beta (0.8.0-beta3)
latest (1.4.3)
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.8.0-beta3
0.8.0-beta2
0.8.0-beta1
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
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.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
Flow-Based Programming environment for JavaScript
noflojs.org
noflo/noflo
noflo
/
lib
/
loader
/
register.js
13 lines
(9 loc)
•
222 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
(
function
(
) {
var
isBrowser; isBrowser =
require
(
'../Platform'
).
isBrowser
;
if
(
isBrowser
()) {
module
.
exports
=
require
(
'./ComponentIo'
); }
else
{
module
.
exports
=
require
(
'./NodeJs'
); } }).
call
(
this
);