c4milo / node-webkit-agent

NodeJS agent for WebKit devtools front-end
http://c4milo.github.io/node-webkit-agent/
1.09k stars 78 forks source link

Update instructions on starting the agent #76

Closed villanuevawill closed 9 years ago

villanuevawill commented 9 years ago

To start the agent, you must create an instance of the Agent class. I've updated the directions in the readme.

c4milo commented 9 years ago

It is already being created here: https://github.com/c4milo/node-webkit-agent/blob/master/index.js#L204

villanuevawill commented 9 years ago

Is npm pulling from the dev version? The index.js after an npm install matches the dev version's syntax:

var DevToolsAgent = module.exports = function() { this.loadedAgents = {}; this.proxy = null; this.server = null; this.socket = null; };

villanuevawill commented 9 years ago

@c4milo

c4milo commented 9 years ago

@villanuevawill I tested it and it looks fine to me:

c4milo commented 9 years ago

https://github.com/c4milo/node-webkit-agent/blob/v0.3.1/index.js#L204

c4milo commented 9 years ago

Closing as invalid. Please re-open if you see this happening again.