Permalink
Browse files

Tweaking spacing

  • Loading branch information...
1 parent 9df4601 commit d3730701568b6674e14395fe9e39a04233df3724 @nrabinowitz committed May 20, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 pjscrape.js
View
6 pjscrape.js
@@ -648,15 +648,15 @@ var pjs = (function(){
log.msg('Opening ' + url);
// set up callback to look for response codes
page.onResourceReceived = function(res) {
- if(opts.debugResponse || opts.debug) {
- console.log('received: ' + JSON.stringify(res, undefined, 4));
+ if (opts.debugResponse || opts.debug) {
+ console.log('received: ' + JSON.stringify(res, undefined, 4));
}
if (res.stage == 'end' && res.url == url) {
page.resource = res;
}
};
page.onResourceRequested = function (req) {
- if(opts.debugRequest || opts.debug) {
+ if (opts.debugRequest || opts.debug) {
console.log('requested: ' + JSON.stringify(req, undefined, 4));
}
};

0 comments on commit d373070

Please sign in to comment.