ack-angular-webcam
Advanced tools
Comparing version
{ | ||
"name": "ack-angular-webcam", | ||
"version": "1.3.7", | ||
"version": "1.3.8", | ||
"description": "Angular2 webcam component. Based on MediaDevices and getUserMedia.js ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -57,8 +57,8 @@ "use strict"; | ||
//template ref to class object | ||
this.ref = Object.assign(this, this.ref, { | ||
element: this.element, | ||
options: this.options, | ||
onSuccess: this.onSuccess, | ||
onError: this.onError | ||
}); | ||
/*this.ref = Object.assign(this, this.ref, { | ||
element:this.element, | ||
options:this.options, | ||
onSuccess:this.onSuccess, | ||
onError:this.onError | ||
})*/ | ||
setTimeout(function () { return _this.refChange.emit(_this); }, 0); | ||
@@ -65,0 +65,0 @@ this.createVideoResizer(); |
38810
-0.02%