Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102317162
SystemContextRuntimeModule.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
Wed, Feb 19, 10:53
Size
532 B
Mime Type
text/x-c++
Expires
Fri, Feb 21, 10:53 (2 d)
Engine
blob
Format
Raw Data
Handle
24329634
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
SystemContextRuntimeModule.js
View Options
/*
MIT License http://www.opensource.org/licenses/mit-license.php
*/
"use strict"
;
const
RuntimeGlobals
=
require
(
"../RuntimeGlobals"
);
const
RuntimeModule
=
require
(
"../RuntimeModule"
);
/** @typedef {import("../Compilation")} Compilation */
class
SystemContextRuntimeModule
extends
RuntimeModule
{
constructor
()
{
super
(
"__system_context__"
);
}
/**
* @returns {string} runtime code
*/
generate
()
{
return
`
$
{
RuntimeGlobals
.
systemContext
}
=
__system_context__
;
`
;
}
}
module
.
exports
=
SystemContextRuntimeModule
;
Event Timeline
Log In to Comment