From 463e94a03330e2b4a1eb5ed1efc4d28a3112883d Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Wed, 8 Nov 2023 13:35:10 +0000 Subject: [PATCH] updated AT library --- libs/js/AT.min.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/js/AT.min.js b/libs/js/AT.min.js index 498b528fce..312ac51299 100644 --- a/libs/js/AT.min.js +++ b/libs/js/AT.min.js @@ -1,4 +1,4 @@ exports.connect=function(r){var q=!1,b="",e,f=0,p,g={},m={},n=[];r.on("data",function d(a){if(f){b&&(a=b+a,b="");if(a.length<=f){f-=a.length;p(a);0==f&&(p=void 0);return}p(a.substr(0,f));a=a.substr(f);f=0;p=void 0}b+=a;q&&console.log("] "+JSON.stringify(a));"\n"==b[0]&&(b=b.substr(1));if(g)for(var c in g)for(;b.substr(0,c.length)==c;)if(a=b,b=g[c](b),a==b)return;for(a=b.indexOf("\r");0<=a;){var h=b.substr(0,a),k=!1;if(0