Comparing version 1.1.0 to 1.1.1
@@ -22,3 +22,3 @@ "use strict"; | ||
QRCodeComponent.prototype.ngOnChanges = function (changes) { | ||
if (!('value' in changes) || !('size' in changes)) { | ||
if (!changes.value && !changes.size) { | ||
return; | ||
@@ -48,4 +48,3 @@ } | ||
core_1.Component({ | ||
selector: 'qr-code', | ||
template: '<div #container></div>' | ||
selector: 'qr-code' | ||
}), | ||
@@ -52,0 +51,0 @@ __metadata("design:paramtypes", [core_1.ElementRef]) |
{ | ||
"name": "ng-qrcode", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Simple and AOT compatible QR code generator for your Angular project.", | ||
@@ -5,0 +5,0 @@ "main": "ng-qrcode.js", |
@@ -18,3 +18,3 @@ # Angular QR code generator | ||
``` | ||
<qr-code [data]="'Yo world!'" [size]="200"></qr-code> | ||
<qr-code [value]="'Yo world!'" [size]="300"></qr-code> | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5314
77