diff options
Diffstat (limited to 'fxjs/cjs_global.cpp')
-rw-r--r-- | fxjs/cjs_global.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fxjs/cjs_global.cpp b/fxjs/cjs_global.cpp index 7a319dd4cb..e3c347ef58 100644 --- a/fxjs/cjs_global.cpp +++ b/fxjs/cjs_global.cpp @@ -192,6 +192,11 @@ void CJS_Global::DefineAllProperties(CFXJS_Engine* pEngine) { } // static +int CJS_Global::GetObjDefnID() { + return ObjDefnID; +} + +// static void CJS_Global::DefineJSObjects(CFXJS_Engine* pEngine) { ObjDefnID = pEngine->DefineObj("global", FXJSOBJTYPE_STATIC, JSConstructor<CJS_Global>, JSDestructor); |