Skip to content

Commit

Permalink
Bump to 2.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
redox committed Oct 27, 2014
1 parent dba5348 commit 9553127
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
CHANGELOG

2014-10-27 2.7.2
* Fixed browse method (author @muertet)

2014-10-15 2.7.{0,1}
* Refactor the AlgoliaSearch constructor to allows optional/named arguments

Expand Down
4 changes: 2 additions & 2 deletions dist/algoliasearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* THE SOFTWARE.
*/

var ALGOLIA_VERSION = '2.7.1';
var ALGOLIA_VERSION = '2.7.2';

/*
* Copyright (c) 2013 Algolia
Expand Down Expand Up @@ -1102,7 +1102,7 @@ AlgoliaSearch.prototype.Index.prototype = {
browse: function(page, callback, hitsPerPage) {
var indexObj = this;
var params = '?page=' + page;
if (!_.isUndefined(hitsPerPage)) {
if (!this.as._isUndefined(hitsPerPage)) {
params += '&hitsPerPage=' + hitsPerPage;
}
this.as._jsonRequest({ method: 'GET',
Expand Down
Loading

0 comments on commit 9553127

Please sign in to comment.