Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SnapDrop/snapdrop
/ _showOfflineMessage
Method
_showOfflineMessage
client/scripts/ui.js:500–502 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
498
}
499
500
_showOfflineMessage() {
501
Events.fire(
'notify-user'
,
'You are offline'
);
502
}
503
504
_showOnlineMessage() {
505
Events.fire(
'notify-user'
,
'You are back online'
);
Callers
1
constructor
Method · 0.95
Calls
1
fire
Method · 0.80
Tested by
no test coverage detected