Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added __proto__ to variable tree, moved debugger.js and session.js to…

… lib
  • Loading branch information...
commit 390020a5f1ee1fd0ab68de8f0e235f752a973764 1 parent c7d82ac
@dannycoates dannycoates authored
View
2  bin/inspector.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node
var sys = require('sys'),
- session = require('./session');
+ session = require('../lib/session');
var options = {};
View
16 front-end/node/InspectorFrontendHostStub.js
@@ -110,7 +110,21 @@ WebInspector.InspectorFrontendHostStub = function()
function refToProperties(ref) {
if (ref) {
if (ref.properties) {
- return ref.properties.map(_property);
+ var props = ref.properties.map(_property);
+ if(ref.protoObject) {
+ props.push(
+ {
+ name:'__proto__'
+ , value:
+ {
+ description: ref.protoObject.className
+ , hasChildren: true
+ , injectedScriptId: ref.protoObject.ref
+ , type: ref.protoObject.type
+ }
+ });
+ }
+ return props;
}
else {
return [_property(ref)];
View
0  bin/debugger.js → lib/debugger.js
File renamed without changes
View
4 bin/session.js → lib/session.js
@@ -2,8 +2,8 @@ var http = require('http'),
events = require('events'),
sys = require('sys'),
path = require('path'),
- ws = require('../lib/ws'),
- paperboy = require('../lib/paperboy'),
+ ws = require('./ws'),
+ paperboy = require('./paperboy'),
spawn = require('child_process').spawn,
debugr = require('./debugger');
Please sign in to comment.
Something went wrong with that request. Please try again.