Skip to content

Commit

Permalink
Adhere to the standard
Browse files Browse the repository at this point in the history
  • Loading branch information
saintedlama committed Dec 2, 2015
1 parent 9b77c8d commit 7b27dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Cursor.prototype.forEach = function (fn) {
}

// Missing mongodb cursor methods are addOption, hasNext, itcount, readPref, showDiskLoc
var opts = ['batchSize', 'hint', 'limit', 'maxTimeMS', 'max', 'min', 'skip', 'snapshot', 'sort']
var opts = ['batchSize', 'hint', 'limit', 'maxTimeMS', 'max', 'min', 'skip', 'snapshot', 'sort']

opts.forEach(function (opt) {
Cursor.prototype[opt] = function (obj, cb) {
Expand Down

0 comments on commit 7b27dc6

Please sign in to comment.