From 0718641bc7aadfe50aae113a5bf2947a98d04e85 Mon Sep 17 00:00:00 2001 From: tamat Date: Sun, 24 May 2020 00:02:32 +0200 Subject: [PATCH] merge --- build/litegraph.js | 4 ++-- build/litegraph.min.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/litegraph.js b/build/litegraph.js index 9bd16aab1..25f32a859 100644 --- a/build/litegraph.js +++ b/build/litegraph.js @@ -786,7 +786,7 @@ window.requestAnimationFrame(on_frame); if(that.onBeforeStep) that.onBeforeStep(); - that.runStep(1, !this.catch_errors); + that.runStep(1, !that.catch_errors); if(that.onAfterStep) that.onAfterStep(); } @@ -797,7 +797,7 @@ //execute if(that.onBeforeStep) that.onBeforeStep(); - that.runStep(1, !this.catch_errors); + that.runStep(1, !that.catch_errors); if(that.onAfterStep) that.onAfterStep(); }, interval); diff --git a/build/litegraph.min.js b/build/litegraph.min.js index 9ea2d0110..70f79282a 100755 --- a/build/litegraph.min.js +++ b/build/litegraph.min.js @@ -24,8 +24,8 @@ e.EVENT&&b==e.ACTION)return!0;a=String(a);b=String(b);a=a.toLowerCase();b=b.toLo if("text"==b||"json"==b)return f.readAsText(a);if("blob"==b)return f.readAsBinaryString(a)}return null}};e.getTime="undefined"!=typeof performance?performance.now.bind(performance):"undefined"!=typeof Date&&Date.now?Date.now.bind(Date):"undefined"!=typeof process?function(){var a=process.hrtime();return 0.001*a[0]+1E-6*a[1]}:function(){return(new Date).getTime()};z.LGraph=e.LGraph=c;c.supported_types=["number","string","boolean"];c.prototype.getSupportedTypes=function(){return this.supported_types|| c.supported_types};c.STATUS_STOPPED=1;c.STATUS_RUNNING=2;c.prototype.clear=function(){this.stop();this.status=c.STATUS_STOPPED;this.last_link_id=this.last_node_id=0;this._version=-1;if(this._nodes)for(var a=0;a