summaryrefslogtreecommitdiff
path: root/fxjs/cjs_highlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_highlight.cpp')
-rw-r--r--fxjs/cjs_highlight.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/fxjs/cjs_highlight.cpp b/fxjs/cjs_highlight.cpp
index e60a5a819e..c77a80d829 100644
--- a/fxjs/cjs_highlight.cpp
+++ b/fxjs/cjs_highlight.cpp
@@ -20,3 +20,9 @@ void CJS_Highlight::DefineJSObjects(CFXJS_Engine* pEngine) {
pEngine->DefineObj("highlight", FXJSOBJTYPE_STATIC, nullptr, nullptr);
DefineConsts(pEngine, ObjDefnID, ConstSpecs, FX_ArraySize(ConstSpecs));
}
+
+CJS_Highlight::CJS_Highlight(v8::Local<v8::Object> pObject,
+ CJS_Runtime* pRuntime)
+ : CJS_Object(pObject, pRuntime) {}
+
+CJS_Highlight::~CJS_Highlight() = default;