Skip to content

Commit

Permalink
Useless spaces and spare lines removed from main library
Browse files Browse the repository at this point in the history
  • Loading branch information
deeleman committed Oct 29, 2012
1 parent ae8aa8c commit be6d758
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/main.js
@@ -1,6 +1,7 @@
/* globals require,processRequest,processRequestPool,jsonraver,exports */

var processRequest = function (requestObject, onComplete) {"use strict";
var processRequest = function (requestObject, onComplete) {
"use strict";
var error, result, buildError, requestCallback;

buildError = function (err, status) {
Expand Down Expand Up @@ -51,7 +52,8 @@ var processRequest = function (requestObject, onComplete) {"use strict";
}
};

var processRequestPool = function (pool, onComplete) {"use strict";
var processRequestPool = function (pool, onComplete) {
"use strict";
var i, count = 0, errors, result = {}, nodeName, processData, buildErrors;

buildErrors = function (nodeName, err) {
Expand Down Expand Up @@ -88,8 +90,8 @@ var processRequestPool = function (pool, onComplete) {"use strict";
}
};


var jsonraver = function (request, callback) {"use strict";
var jsonraver = function (request, callback) {
"use strict";
var pool = [], i;

if ( typeof request === 'string') {
Expand Down Expand Up @@ -119,5 +121,4 @@ var jsonraver = function (request, callback) {"use strict";
return processRequestPool(pool, callback);
};


exports = module.exports = jsonraver;

0 comments on commit be6d758

Please sign in to comment.