Skip to content

Commit

Permalink
Merge 083c6a5 into 3a7c2e0
Browse files Browse the repository at this point in the history
  • Loading branch information
xshyamx committed Jan 7, 2016
2 parents 3a7c2e0 + 083c6a5 commit 59f0481
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions handlers/templates/_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,7 @@ module.exports = {
}
break;

case 'offset':
if (!_.isUndefined(item) && !_.isNaN(_.parseInt(item))) {
options[key] = _.parseInt(item);
}
break;

case 'skip':
case 'limit':
if (!_.isUndefined(item) && !_.isNaN(_.parseInt(item))) {
options[key] = _.parseInt(item);
Expand Down

0 comments on commit 59f0481

Please sign in to comment.