easy-js-camera
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -130,3 +130,3 @@ 'use strict'; | ||
this.snap(); | ||
new Promise(function (resolve) { | ||
return new Promise(function (resolve) { | ||
_this2.canvasElement.toBlob(function (blob) { | ||
@@ -133,0 +133,0 @@ resolve(blob); |
{ | ||
"name": "easy-js-camera", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A package which helps with adding camera support to a web application", | ||
@@ -5,0 +5,0 @@ "main": "lib/Camera.js", |
@@ -84,3 +84,3 @@ import CameraModel from "./CameraModel"; | ||
this.snap(); | ||
new Promise((resolve) => { | ||
return new Promise((resolve) => { | ||
this.canvasElement.toBlob((blob) => { | ||
@@ -87,0 +87,0 @@ resolve(blob); |
16055