mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-17 01:20:07 +08:00
13 lines
264 B
JavaScript
13 lines
264 B
JavaScript
window.GarageServerIO = (function (socketio) {
|
|
|
|
var io = socketio,
|
|
|
|
connectToGarageServer = function (path) {
|
|
io.connect(path + '/garageserver');
|
|
};
|
|
|
|
return {
|
|
connectToGarageServer: connectToGarageServer
|
|
};
|
|
|
|
}) (io); |