Page MenuHomeSealhub

super-context.js
No OneTemporary

super-context.js

"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});
return ret;
}
module.exports = SuperContext;

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 11:02 (23 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557080
Default Alt Text
super-context.js (370 B)

Event Timeline