[gjs] context: Expose Debugger object
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] context: Expose Debugger object
- Date: Wed, 15 Jan 2014 19:51:34 +0000 (UTC)
commit 5bda28191f8b5e732fe98b4aa66dd0e0cd3acdaf
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Jan 15 14:45:15 2014 -0500
context: Expose Debugger object
gjs/jsapi-util.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gjs/jsapi-util.cpp b/gjs/jsapi-util.cpp
index 5721943..19b0f89 100644
--- a/gjs/jsapi-util.cpp
+++ b/gjs/jsapi-util.cpp
@@ -125,6 +125,9 @@ gjs_init_context_standard (JSContext *context)
if (!JS_InitReflect(context, global))
return FALSE;
+ if (!JS_DefineDebuggerObject(context, global))
+ return FALSE;
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]