mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
remove trailing whitespaces in lib/index.js
This commit is contained in:
parent
4272f21685
commit
3b1a5beba8
@ -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')));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user