Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F995961
super-context.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
531 B
Referenced Files
None
Subscribers
None
super-context.js
View Options
"use strict"
;
const
locreq
=
require
(
"locreq"
)(
__dirname
);
const
Context
=
locreq
(
"lib/context.js"
);
function
SuperContext
(
regular_context
)
{
if
(
regular_context
===
undefined
)
{
regular_context
=
new
Context
();
}
const
ret
=
Object
.
create
(
regular_context
);
Object
.
defineProperty
(
ret
,
"is_super"
,
{
value
:
true
});
ret
.
original_context
=
regular_context
;
while
(
ret
.
original_context
.
original_context
)
{
ret
.
original_context
=
ret
.
original_context
.
original_context
;
}
return
ret
;
}
module
.
exports
=
SuperContext
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 03:32 (1 d, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557019
Default Alt Text
super-context.js (531 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment