UNPKG
socketcluster-client
Version:
latest (20.0.1)
20.0.1
20.0.0
19.2.7
19.2.6
19.2.5
19.2.4
19.2.3
19.2.2
19.2.1
19.2.0
19.1.2
19.1.1
19.1.0
19.0.2
19.0.1
19.0.0
18.3.0
18.2.2
18.2.1
18.2.0
18.1.3
18.1.2
18.1.1
18.1.0
18.0.3
18.0.2
18.0.1
18.0.0
17.2.2
17.2.1
17.2.0
17.1.1
17.1.0
17.0.1
17.0.0
16.1.1
16.1.0
16.0.4
16.0.3
16.0.2
16.0.1
16.0.0
15.1.0
15.0.3
15.0.2
15.0.1
15.0.0
14.3.2
14.3.1
14.3.0
14.2.2
14.2.1
14.2.0
14.1.0
14.0.0
13.0.1
13.0.0
12.0.0
11.2.2
11.2.1
11.2.0
11.1.0
11.0.2
11.0.1
11.0.0
10.1.2
10.1.1
10.1.0
10.0.1
10.0.0
9.0.4
9.0.3
9.0.2
9.0.1
9.0.0
8.0.2
8.0.1
8.0.0
7.0.2
7.0.1
7.0.0
6.4.0
6.3.0
6.2.2
6.2.1
6.2.0
6.1.1
6.1.0
5.5.2
5.5.1
5.5.0
5.4.0
5.3.1
5.3.0
5.2.5
5.2.4
5.2.3
5.2.2
5.2.1
5.2.0
5.1.1
5.1.0
5.0.21
5.0.20
5.0.19
5.0.18
5.0.17
5.0.16
5.0.15
5.0.14
5.0.13
5.0.12
5.0.11
5.0.10
5.0.9
5.0.8
5.0.7
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.3.19
4.3.18
4.3.17
4.3.16
4.3.15
4.3.14
4.3.13
4.3.12
4.3.11
4.3.10
4.3.9
4.3.8
4.3.7
4.3.6
4.3.5
4.3.4
4.3.3
4.3.2
4.3.1
4.1.6
4.1.5
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.1
4.0.0
3.1.1
3.1.0
3.0.0
2.4.1
2.4.0
2.3.19
2.3.18
2.3.17
2.3.16
2.3.15
2.3.14
2.3.13
2.3.12
2.3.11
2.3.10
2.3.9
2.3.7
2.3.3
2.3.2
2.3.1
2.3.0
2.2.38
2.2.37
2.2.36
2.2.33
2.2.32
2.2.31
2.2.30
2.2.29
2.2.28
2.2.27
2.2.26
2.2.25
2.2.23
2.2.20
2.2.11
2.2.9
1.3.11
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.0
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.9.37
0.9.36
0.9.35
0.9.34
0.9.33
0.9.32
0.9.31
0.9.30
0.9.29
0.9.28
0.9.27
0.9.26
0.9.25
0.9.24
0.9.23
0.9.22
0.9.21
0.9.20
0.9.19
0.9.18
0.9.17
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.0
SocketCluster JavaScript client
socketcluster.io
SocketCluster/socketcluster-client
socketcluster-client
/
lib
/
objectcreate.js
11 lines
(10 loc)
•
255 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
module
.
exports
.
create
= (
function
(
) {
function
F
(
) {};
return
function
(
o
) {
if
(
arguments
.
length
!=
1
) {
throw
new
Error
(
'Object.create implementation only accepts one parameter.'
); } F.
prototype
= o;
return
new
F
(); } })();