Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6195417
common.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
574 B
Referenced Files
None
Subscribers
None
common.js
View Options
module
.
exports
=
(
setConfig
,
getConfig
,
lint
,
setI18N
,
getI18N
,
setLintConfig
)
=>
{
self
.
onmessage
=
async
(
{
data
:
[
command
,
code
]
}
)
=>
{
switch
(
command
)
{
case
'setConfig'
:
setConfig
(
code
);
break
;
case
'getConfig'
:
postMessage
(
[
command
,
getConfig
()
]
);
break
;
case
'setI18N'
:
setI18N
(
code
);
break
;
case
'getI18N'
:
postMessage
(
[
command
,
getI18N
()
]
);
break
;
case
'setLintConfig'
:
setLintConfig
(
code
);
break
;
case
'lint'
:
postMessage
(
[
command
,
await
lint
(
code
),
code
]
);
}
};
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 10 2026, 01:00 (7 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
56/29/4a6ba10c8c7dcee7c7471a47fb3b
Default Alt Text
common.js (574 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment