Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit c63d233

Browse files
nchevobbejasonLaster
authored andcommitted
Add a createObjectClient method to the DebuggerClient (#848)
1 parent 7dc3088 commit c63d233

File tree

1 file changed

+4
-0
lines changed
  • packages/devtools-connection/src/debugger

1 file changed

+4
-0
lines changed

packages/devtools-connection/src/debugger/client.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,10 @@ DebuggerClient.prototype = {
12601260
* Currently attached addon.
12611261
*/
12621262
activeAddon: null,
1263+
1264+
createObjectClient: function(grip) {
1265+
return new ObjectClient(this, grip);
1266+
}
12631267
};
12641268

12651269
eventSource(DebuggerClient.prototype);

0 commit comments

Comments
 (0)