Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92222682
main.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Nov 18, 12:12
Size
632 B
Mime Type
text/x-java
Expires
Wed, Nov 20, 12:12 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22397450
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
main.js
View Options
import
"./lib/transform.js"
;
import
"./lib/mozilla-ast.js"
;
import
{
minify
}
from
"./lib/minify.js"
;
export
{
minify
}
from
"./lib/minify.js"
;
export
{
run_cli
as
_run_cli
}
from
"./lib/cli.js"
;
export
async
function
_default_options
()
{
const
defs
=
{};
Object
.
keys
(
infer_options
({
0
:
0
})).
forEach
((
component
)
=>
{
const
options
=
infer_options
({
[
component
]
:
{
0
:
0
}
});
if
(
options
)
defs
[
component
]
=
options
;
});
return
defs
;
}
async
function
infer_options
(
options
)
{
try
{
await
minify
(
""
,
options
);
}
catch
(
error
)
{
return
error
.
defs
;
}
}
Event Timeline
Log In to Comment