Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79257820
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
Sun, Aug 25, 12:54
Size
632 B
Mime Type
text/x-java
Expires
Tue, Aug 27, 12:54 (2 d)
Engine
blob
Format
Raw Data
Handle
20168404
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