forked from Ezelia/eureca.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
32 lines (23 loc) · 931 Bytes
/
index.js
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
exports.Client = require('./lib/EurecaClient.js').Eureca.Client;
exports.Server = require('./lib/EurecaServer.js').Eureca.Server;
exports.Transport = require('./lib/EurecaServer.js').Eureca.Transport;
exports.EurecaServer = (function () {
function F(args) {
return exports.Server.apply(this, args);
}
F.prototype = exports.Server.prototype;
return function () {
console.log("/!\\ 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.log("/!\\ EurecaClient syntax is deprecated please see http://eureca.io/doc/tutorial-A00-Deprecations.html");
return new F(arguments);
}
})();