remove trailing whitespaces in lib/index.js

This commit is contained in:
Philipp Borgers 2013-01-24 00:45:40 +01:00
parent 4272f21685
commit 3b1a5beba8

View File

@ -50,7 +50,7 @@ PG.prototype.connect = function(config, callback) {
var client = new self.Client(c);
client.connect(function(err) {
if(err) { return callback(err); }
//handle connected client background errors by emitting event
//via the pg object and then removing errored client from the pool
client.on('error', function(e) {
@ -89,7 +89,7 @@ PG.prototype.cancel = function(config, client, query) {
module.exports = new PG(Client);
//lazy require native module...the native module may not have installed
//lazy require native module...the native module may not have installed
module.exports.__defineGetter__("native", function() {
delete module.exports.native;
return (module.exports.native = new PG(require(__dirname + '/native')));