Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Jul 25, 2015
1 parent fcce1f7 commit 737ceb8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/bulk.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ var cmdkeys = {
}

Bulk.prototype.tojson = function () {
var obj = {
var obj = {
nInsertOps: 0,
nUpdateOps: 0,
nRemoveOps: 0,
Expand Down
2 changes: 1 addition & 1 deletion lib/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var noop = function () {}
var Database = function (opts, onserver) {
this._getServer = onserver
this._dbname = opts.name

var self = this
this.ObjectId = bson.ObjectId
opts.cols = opts.cols || []
Expand Down
4 changes: 2 additions & 2 deletions test/test-cursor-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ insert('cursor.map', [{
hello: 'world2'
}], function (db, t, done) {
var cursor = db.a.find()
cursor.map(function (x) {
return x.hello
cursor.map(function (x) {
return x.hello
}, function (err, res) {
t.error(err)
t.equal(res[0], 'world1')
Expand Down
2 changes: 1 addition & 1 deletion test/test-insert.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test('insert', function (t) {
t.ok(docs[1]._id)
t.ok(docs[2]._id)

// It should only return one document in the
// It should only return one document in the
// callback when one document is passed instead of an array
db.a.insert({name: 'Lapras'}, function (err, doc) {
t.error(err)
Expand Down

0 comments on commit 737ceb8

Please sign in to comment.