Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123426558
index.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, Jul 27, 07:44
Size
952 B
Mime Type
text/x-java
Expires
Tue, Jul 29, 07:44 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27622653
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
index.js
View Options
import
Editor
from
'rsg-components/Editor'
;
import
Usage
from
'rsg-components/Usage'
;
import
IsolateButton
from
'rsg-components/slots/IsolateButton'
;
import
CodeTabButton
from
'rsg-components/slots/CodeTabButton'
;
import
UsageTabButton
from
'rsg-components/slots/UsageTabButton'
;
export
var
EXAMPLE_TAB_CODE_EDITOR
=
'rsg-code-editor'
;
export
var
DOCS_TAB_USAGE
=
'rsg-usage'
;
var
toolbar
=
[
IsolateButton
];
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export
default
(
function
(
config
)
{
return
{
sectionToolbar
:
toolbar
,
componentToolbar
:
toolbar
,
exampleToolbar
:
toolbar
,
exampleTabButtons
:
[{
id
:
EXAMPLE_TAB_CODE_EDITOR
,
render
:
CodeTabButton
}],
exampleTabs
:
[{
id
:
EXAMPLE_TAB_CODE_EDITOR
,
render
:
Editor
}],
docsTabButtons
:
[{
id
:
DOCS_TAB_USAGE
,
render
:
UsageTabButton
}],
docsTabs
:
[{
id
:
DOCS_TAB_USAGE
,
render
:
Usage
}]
};
});
Event Timeline
Log In to Comment