From 36e06d33e0cc5fee4b1a9a45793baeb56bd8e343 Mon Sep 17 00:00:00 2001 From: davfsa Date: Fri, 11 Jun 2021 16:55:47 +0200 Subject: [PATCH] Fix options being detected as fields - Fix clean job to work on UNIX based systems - Fix build.js to work on UNIX based systems --- dist/flexsearch.bundle.js | 2 +- dist/flexsearch.compact.js | 2 +- dist/flexsearch.debug.js | 2 +- dist/flexsearch.es5.js | 2 +- dist/module/document.js | 2 +- package.json | 3 ++- src/document.js | 2 +- task/build.js | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/dist/flexsearch.bundle.js b/dist/flexsearch.bundle.js index a0b3a1d..c9b3a28 100644 --- a/dist/flexsearch.bundle.js +++ b/dist/flexsearch.bundle.js @@ -27,7 +27,7 @@ function U(a,b,c,d,e){a=a[e];if(d===c.length-1)b[e]=a;else if(a)if(a.constructor t.add=function(a,b,c){C(a)&&(b=a,a=T(b,this.key));if(b&&(a||0===a)){if(!c&&this.register[a])return this.update(a,b);for(let d=0,e,f;db||c)e=e.slice(c,c+b);d&&(e=Aa.call(this,e));return{tag:a,result:e}}}function Aa(a){const b=Array(a.length);for(let c=0,d;cb||c)d=d.slice(c,c+b);e&&(d=ra.call(this,d));return{tag:a,result:d}}}function ra(a){const b=Array(a.length);for(let c=0,e;cb||c)f=f.slice(c,c+b);d&&(f=Fa.call(this,f));return{tag:a,result:f}}}function Fa(a){for(var b=Array(a.length),c=0,d;cb||c)&&(e=e.slice(c,c+b)),d&&(e=apply_enrich.call(this,e)),{tag:a,result:e}}function apply_enrich(a){const b=Array(a.length);for(let c,d=0;db||c)&&(e=e.slice(c,c+b)),d&&(e=apply_enrich.call(this,e)),{tag:a,result:e}}function apply_enrich(a){const b=Array(a.length);for(let c,d=0;d