ng2-pagination
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -0,1 +1,4 @@ | ||
# 0.3.3 (2016-06-10) | ||
* Fix issue with custom templates still showing default template initially. | ||
# 0.3.2 (2016-06-09) | ||
@@ -2,0 +5,0 @@ * Use OnPush change detection strategy for big efficiency gains ([PR #40](https://github.com/michaelbromley/ng2-pagination/pull/40)) |
@@ -343,5 +343,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
PaginationControlsCmp.prototype.ngAfterViewInit = function () { | ||
var _this = this; | ||
if ((this.template) && 0 < this.template.nativeElement.children.length) { | ||
setTimeout(function () { return _this.hasTemplate = true; }); | ||
if (this.template && 0 < this.template.nativeElement.children.length) { | ||
this.hasTemplate = true; | ||
} | ||
@@ -348,0 +347,0 @@ }; |
@@ -62,5 +62,4 @@ "use strict"; | ||
PaginationControlsCmp.prototype.ngAfterViewInit = function () { | ||
var _this = this; | ||
if ((this.template) && 0 < this.template.nativeElement.children.length) { | ||
setTimeout(function () { return _this.hasTemplate = true; }); | ||
if (this.template && 0 < this.template.nativeElement.children.length) { | ||
this.hasTemplate = true; | ||
} | ||
@@ -67,0 +66,0 @@ }; |
{ | ||
"name": "ng2-pagination", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Pagination for Angular2", | ||
@@ -12,5 +12,7 @@ "main": "index.js", | ||
"test": "karma start karma.conf.js", | ||
"test:watch": "npm run test -- --auto-watch --no-single-run", | ||
"demo:watch": "webpack --progress --colors --watch", | ||
"demo:dist": "webpack --progress --colors --dist", | ||
"publish-lib": "npm run build && npm run demo:dist" | ||
"publish-lib": "npm run build && npm run demo:dist", | ||
"postinstall": "npm run typings:install" | ||
}, | ||
@@ -42,2 +44,3 @@ "files": [ | ||
"bulma": "^0.0.14", | ||
"core-js": "^2.4.0", | ||
"css-loader": "^0.23.1", | ||
@@ -52,4 +55,6 @@ "es6-promise": "^3.0.2", | ||
"karma-jasmine": "^0.3.6", | ||
"karma-phantomjs-launcher": "^1.0.0", | ||
"karma-webpack": "^1.7.0", | ||
"node-sass": "^3.6.0", | ||
"phantomjs-prebuilt": "^2.1.7", | ||
"raw-loader": "^0.5.1", | ||
@@ -56,0 +61,0 @@ "reflect-metadata": "0.1.2", |
@@ -1,2 +0,2 @@ | ||
# Angular2 Pagination | ||
# Angular2 Pagination [![Build Status](https://travis-ci.org/michaelbromley/ng2-pagination.svg?branch=master)](https://travis-ci.org/michaelbromley/ng2-pagination) | ||
@@ -3,0 +3,0 @@ This is a port of my [angular-utils-pagination](https://github.com/michaelbromley/angularUtils/tree/master/src/directives/pagination) |
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
71120
30
1219
1