Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122818402
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
Tue, Jul 22, 09:06
Size
952 B
Mime Type
text/x-java
Expires
Thu, Jul 24, 09:06 (2 d)
Engine
blob
Format
Raw Data
Handle
27569307
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