File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " angularUtils-pagination" ,
3- "version" : " 0.9.3 " ,
3+ "version" : " 0.9.4 " ,
44 "homepage" : " https://github.com/michaelbromley/angularUtils/tree/master/src/directives/pagination" ,
55 "authors" : [
66 " Michael Bromley <[email protected] >"
Original file line number Diff line number Diff line change 9393 return collectionGetter ( scope ) ;
9494 } , function ( collection ) {
9595 if ( collection ) {
96- paginationService . setCollectionLength ( paginationId , collection . length ) ;
96+ var collectionLength = ( collection instanceof Array ) ? collection . length : Object . keys ( collection ) . length ;
97+ paginationService . setCollectionLength ( paginationId , collectionLength ) ;
9798 }
9899 } ) ;
99100 }
Original file line number Diff line number Diff line change 11Package . describe ( {
22 name : 'angularutils:pagination' ,
33 summary : 'Magical automatic pagination for anything in AngularJS' ,
4- version : '0.9.3 ' ,
4+ version : '0.9.4 ' ,
55 git : 'https://github.com/michaelbromley/angularUtils-pagination'
66} ) ;
77
Original file line number Diff line number Diff line change 11{
22 "name" : " angular-utils-pagination" ,
3- "version" : " 0.9.3 " ,
3+ "version" : " 0.9.4 " ,
44 "description" : " Magical automatic pagination for anything in AngularJS" ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments