@g2crowd/widget
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -17,6 +17,7 @@ // @format | ||
flush() { | ||
if (!completed) { | ||
if (completed === null) { | ||
completed = new Promise(function (resolve) { | ||
window.setTimeout(function () { | ||
flush(); | ||
completed = null; | ||
resolve(); | ||
@@ -23,0 +24,0 @@ }, 0); |
@@ -155,3 +155,3 @@ import 'core-js/modules/es6.array.find'; | ||
flush: function flush() { | ||
if (!completed) { | ||
if (completed === null) { | ||
completed = new Promise(function (resolve) { | ||
@@ -161,2 +161,3 @@ window.setTimeout(function () { | ||
completed = null; | ||
resolve(); | ||
@@ -163,0 +164,0 @@ }, 0); |
{ | ||
"name": "@g2crowd/widget", | ||
"description": "Rails-friendly jquery plugin wrapper", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "files": [ |
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
13720
453