Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F13521426
notification-i18n-loader.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
367 B
Referenced Files
None
Subscribers
None
notification-i18n-loader.js
View Options
// This somewhat mysterious module will load a json string
// and then extract only the 'notifications' part. This is
// meant to be used to load the partial i18n we need for
// the service worker.
module
.
exports
=
function
(
source
)
{
var
object
=
JSON
.
parse
(
source
)
var
smol
=
{
notifications
:
object
.
notifications
||
{}
}
return
JSON
.
stringify
(
smol
)
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 7, 8:19 PM (8 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
659870
Default Alt Text
notification-i18n-loader.js (367 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment