Skip to content

Commit

Permalink
Replace use of deprecated sys.p
Browse files Browse the repository at this point in the history
  • Loading branch information
khubbard-lb committed Jun 8, 2010
1 parent d0dba37 commit 0c5462e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
var postgres = require('./postgres'),
sys = require('sys'),
p = sys.p,
puts = sys.puts;

var p = function () {
puts(sys.inspect.apply(this, arguments));
}

var c = postgres.createConnection("host='' dbname=test");

puts(c.escapeString("e's'c'a'p'e me"));
Expand Down

0 comments on commit 0c5462e

Please sign in to comment.