From 4b6f6692ae522cf144992cfc76940bf7d2b10abf Mon Sep 17 00:00:00 2001 From: Marcos Menghini Vitti <54067600+marcosvitti@users.noreply.github.com> Date: Sat, 15 May 2021 19:23:39 -0300 Subject: [PATCH] Add async await on endDrag event --- flowy.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flowy.min.js b/flowy.min.js index 9e8d69e..19285ce 100644 --- a/flowy.min.js +++ b/flowy.min.js @@ -1 +1 @@ -var flowy=function(e,t,l,i,n,o,r){t||(t=function(){}),l||(l=function(){}),i||(i=function(){return!0}),n||(n=function(){return!1}),o||(o=20),r||(r=80),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var d=!1;function c(e,t,l){return i(e,t,l)}function a(e,t){return n(e,t)}flowy.load=function(){if(!d){d=!0;var i=[],n=[],s=e,u=0,p=0;"absolute"!=window.getComputedStyle(s).position&&"fixed"!=window.getComputedStyle(s).position||(u=s.getBoundingClientRect().left,p=s.getBoundingClientRect().top);var g,w,f,h,y,C,v=!1,m=o,B=r,x=0,R=!1,S=!1,b=0,L=document.createElement("DIV");L.classList.add("indicator"),L.classList.add("invisible"),s.appendChild(L),flowy.import=function(e){s.innerHTML=e.html;for(var t=0;t1&&(D(),E())},flowy.output=function(){var e={html:s.innerHTML,blockarr:i,blocks:[]};if(i.length>0){for(var t=0;t