ng2-pagination
Advanced tools
Comparing version 0.0.1-alpha.11 to 0.0.1-alpha.12
@@ -20,2 +20,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
PaginatePipe.prototype.transform = function (collection, args) { | ||
// for non-array types, throw an exception | ||
if (!(collection instanceof Array)) { | ||
throw new Error("PaginationPipe: Argument error - expected an array, got " + typeof collection); | ||
} | ||
var usingConfig = typeof args[0] === 'object'; | ||
@@ -22,0 +26,0 @@ var serverSideMode = usingConfig && args[0].totalItems !== undefined; |
{ | ||
"name": "ng2-pagination", | ||
"version": "0.0.1-alpha.11", | ||
"version": "0.0.1-alpha.12", | ||
"description": "Pagination for Angular2", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -104,3 +104,3 @@ # Angular2 Pagination | ||
<pagination-controls id="some_id" | ||
(change)="pageChanged($event) | ||
(change)="pageChanged($event)" | ||
maxSize="9" | ||
@@ -141,2 +141,2 @@ autoHide="true"> | ||
MIT | ||
MIT |
28373
538
141