console.warn('Pagination directive: the pagination controls'+idMessage+'cannot be used without the corresponding pagination directive, which was not found at link time.');
expect(console.warn).toHaveBeenCalledWith('Pagination directive: the pagination controls cannot be used without the corresponding pagination directive, which was not found at link time.');
});
it('should not display pagination if all rows fit on one page',function(){
compileElement(myCollection,9999);
varpaginationLinks=getPageLinksArray();
expect(paginationLinks.length).toBe(0);
});
it('should paginate by default if all items do not fit on page',function(){
expect(console.warn).toHaveBeenCalledWith('Pagination directive: the pagination controls (id: id2) cannot be used without the corresponding pagination directive, which was not found at link time.');
});
it('should throw an exception if a non-existant paginationId is set in the itemsPerPage filter',function(){
!0;b.zoomrestore={style:{}};vark="position top left zIndex backgroundColor marginTop marginBottom marginLeft marginRight".split(""),f=b.win[0].style,l;for(link){varh=k[l];b.zoomrestore.style[h]="undefined"!=typeoff[h]?f[h]:""}b.zoomrestore.style.width=b.win.css("width");b.zoomrestore.style.height=b.win.css("height");b.zoomrestore.padding={w:b.win.outerWidth()-b.win.width(),h:b.win.outerHeight()-b.win.height()};g.isios4&&(b.zoomrestore.scrollTop=e(window).scrollTop(),e(window).scrollTop(0));