[gjs] context: Expose Debugger object



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]