     for i, k in n
       n[k]['_p'] = @
     n
+  
   onNavClick: (n) ->
     if n <= @sess("totalPages") and n > 0
       Deps.nonreactive =>

          subs.push i
      @subscriptions = subs
      true
  constructor: (collection, settings = {}) ->
    unless @ instanceof Meteor.Pagination
      @error 4000, "The Meteor.Pagination instance has to be initiated with `new`"
    @setCollection collection
    @set settings, init: true
    @setDefaults()

      return  if page is NaN
      total = @sess "totalPages"
      return @ready true  if total is 0
      
      # Request data for the page
      
      if page <= total
        @requestPage page
        @queueNeighbors page
        @checkQueue()
      
      # Return the content of this page 
      #
      # The contents will be updated (as will the page) as data arrives from the server
      
      if @infinite
        n = @PaginatedCollection.find({},
          fields: @fields
