Skip to content

Commit

Permalink
Update firebase-paginator.js
Browse files Browse the repository at this point in the history
In ReactJS isBrowser is true, and instand we need as object
  • Loading branch information
dimovdaniel authored Jul 24, 2017
1 parent d157bea commit e37682a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions firebase-paginator.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
var isBrowser = typeof global != 'object' || typeof global.process != 'object';

//In ReactJS isBrowser is true, and instand we need as object
isBrowser=false;

function FirebasePaginator(ref, defaults) {
var paginator = this;
var defaults = defaults || {};
Expand Down

0 comments on commit e37682a

Please sign in to comment.