-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathindex.js
More file actions
34 lines (26 loc) · 940 Bytes
/
index.js
File metadata and controls
34 lines (26 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Eureca = require('./dist/EurecaServer.js');
exports.Client = Eureca.Client;
exports.Protocol = Eureca.Protocol;
exports.Server = Eureca.Server;
exports.Transport = Eureca.Transport;
exports.version = Eureca.version;
exports.EurecaServer = (function () {
function F(args) {
return exports.Server.apply(this, args);
}
F.prototype = exports.Server.prototype;
return function () {
console.warn("/!\\ EurecaServer syntax is deprecated please see http://eureca.io/doc/tutorial-A00-Deprecations.html");
return new F(arguments);
}
})();
exports.EurecaClient = (function () {
function F(args) {
return exports.Client.apply(this, args);
}
F.prototype = exports.Client.prototype;
return function () {
console.warn("/!\\ EurecaClient syntax is deprecated please see http://eureca.io/doc/tutorial-A00-Deprecations.html");
return new F(arguments);
}
})();