MCPcopy
hub / github.com/jsfiddle/togetherjs / invite

Function invite

togetherjs/ui.js:1459–1467  ·  view source on GitHub ↗
(clientId)

Source from the content-addressed store, hash-verified

1457 });
1458
1459 function invite(clientId) {
1460 require(["who"], function (who) {
1461 // FIXME: use the return value of this to give a signal that
1462 // the invite has been successfully sent:
1463 who.invite(inviteHubUrl(), clientId).then(function () {
1464 hideMenu();
1465 });
1466 });
1467 }
1468
1469 ui.showUrlChangeMessage = deferForContainer(function (peer, url) {
1470 var window = templating.sub("url-change", {peer: peer});

Callers 2

ui.jsFile · 0.85
addUserFunction · 0.85

Calls 3

requireFunction · 0.85
inviteHubUrlFunction · 0.85
hideMenuFunction · 0.85

Tested by

no test coverage detected