Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

Commit

Permalink
parse arguments for table.js first/last functions. Closes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
xivSolutions committed May 24, 2014
1 parent 9f1da7a commit 4036d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ var Table = function(tableName, pk, _db) {
this.db = _db;

this.last = function() {
return this.find().last();
return this.find().last().parseArgs(arguments);
};
this.first = function() {
return this.find().first();
return this.find().first().parseArgs(arguments);
};

this.each = function(callback) {
Expand Down

0 comments on commit 4036d13

Please sign in to comment.