Skip to content

Commit 8bb2785

Browse files
committed
readme code formatting
1 parent 7729b2d commit 8bb2785

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ only refactoring after tests are in place.
1313
Clone the repo. There are __no__ dependencies.
1414

1515
```bash
16-
git clone git://github.com/brianc/node-postgres
17-
cd node-postgres
18-
node test/run.js
16+
git clone git://github.com/brianc/node-postgres
17+
cd node-postgres
18+
node test/run.js
1919
```
2020
And just like magic, you're ready to contribute! <3
2121

@@ -136,21 +136,21 @@ tests for more up to date examples, but what I'm working towards is
136136
something like this:
137137

138138
```javascript
139-
var client = new Client({
140-
user: 'brian',
141-
database: 'test'
142-
});
139+
var client = new Client({
140+
user: 'brian',
141+
database: 'test'
142+
});
143143

144-
var query = client.query({
145-
text: 'select * from person where age < $1',
146-
values: [21]
147-
});
144+
var query = client.query({
145+
text: 'select * from person where age < $1',
146+
values: [21]
147+
});
148148

149-
query.on('row', function(row) {
150-
console.log(row);
151-
});
149+
query.on('row', function(row) {
150+
console.log(row);
151+
});
152152

153-
query.on('end', function() { client.end() });
153+
query.on('end', function() { client.end() });
154154
```
155155
## Testing
156156

0 commit comments

Comments
 (0)