We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3baba4 + bf4ca38 commit b027020Copy full SHA for b027020
app/templates/_main.js
@@ -8,14 +8,15 @@
8
var giStatus = require('./gi_status');
9
10
var url = 'https://goinstant.net/<%= giAcct %>/<%= giApp %>';
11
-var platform = new goinstant.Platform(url);
12
13
-platform.connect(function (err) {
+goinstant.connect(function (err, connection, lobby) {
14
if (err) {
15
giStatus.connected(false);
16
console.log('Error connecting to platform:', err);
17
return;
18
}
19
20
giStatus.connected(true);
21
-});
+
+ /*jshint unused:false*/ // Remove once you're doing something with lobby!
22
+});
0 commit comments