Skip to content

Commit

Permalink
it does something
Browse files Browse the repository at this point in the history
  • Loading branch information
cshaa committed Jun 18, 2021
1 parent 2118301 commit e272166
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 205 deletions.
118 changes: 52 additions & 66 deletions dist/browser/filtrex.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ var filtrex = (function (exports) {
this.$ = [">"];
break;
case 31:
this.$ = [...$$[$0 - 2], $$[$0 - 1], $$[$0]];
this.$ = [$$[$0 - 2], $$[$0 - 1], ...$$[$0]];
break;
case 32:
this.$ = [$$[$0 - 2], $$[$0 - 1], $$[$0]];
Expand Down Expand Up @@ -378,7 +378,6 @@ var filtrex = (function (exports) {
18: [2, 23],
20: [2, 23],
22: [2, 23],
28: 37,
29: [2, 23],
30: [2, 23],
31: [2, 23],
Expand All @@ -389,7 +388,7 @@ var filtrex = (function (exports) {
}, {
1: [2, 1]
}, {
4: 38,
4: 37,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -399,7 +398,7 @@ var filtrex = (function (exports) {
25: [1, 9],
27: 10
}, {
4: 39,
4: 38,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -409,7 +408,7 @@ var filtrex = (function (exports) {
25: [1, 9],
27: 10
}, {
4: 40,
4: 39,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -419,7 +418,7 @@ var filtrex = (function (exports) {
25: [1, 9],
27: 10
}, {
4: 41,
4: 40,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -429,7 +428,7 @@ var filtrex = (function (exports) {
25: [1, 9],
27: 10
}, {
4: 42,
4: 41,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -439,7 +438,7 @@ var filtrex = (function (exports) {
25: [1, 9],
27: 10
}, {
4: 43,
4: 42,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -449,7 +448,7 @@ var filtrex = (function (exports) {
25: [1, 9],
27: 10
}, {
4: 44,
4: 43,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -459,7 +458,7 @@ var filtrex = (function (exports) {
25: [1, 9],
27: 10
}, {
4: 45,
4: 44,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -469,7 +468,7 @@ var filtrex = (function (exports) {
25: [1, 9],
27: 10
}, {
4: 46,
4: 45,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -479,7 +478,7 @@ var filtrex = (function (exports) {
25: [1, 9],
27: 10
}, {
18: [1, 47]
18: [1, 46]
}, {
4: 48,
6: [1, 3],
Expand All @@ -489,7 +488,7 @@ var filtrex = (function (exports) {
23: [1, 7],
24: [1, 8],
25: [1, 9],
27: 10
27: 47
}, {
6: [2, 24],
14: [2, 24],
Expand Down Expand Up @@ -659,16 +658,6 @@ var filtrex = (function (exports) {
24: [1, 8],
25: [1, 9],
27: 10
}, {
4: 56,
6: [1, 3],
14: [1, 4],
15: [1, 5],
19: [1, 6],
23: [1, 7],
24: [1, 8],
25: [1, 9],
27: 10
}, {
5: [2, 3],
6: [2, 3],
Expand Down Expand Up @@ -886,7 +875,7 @@ var filtrex = (function (exports) {
34: [1, 28],
35: [1, 29]
}, {
4: 57,
4: 56,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -895,6 +884,29 @@ var filtrex = (function (exports) {
24: [1, 8],
25: [1, 9],
27: 10
}, {
5: [2, 31],
6: [2, 31],
7: [2, 31],
8: [2, 31],
9: [2, 31],
10: [2, 31],
11: [2, 31],
12: [2, 31],
13: [2, 31],
14: [2, 31],
16: [2, 31],
17: [2, 31],
18: [2, 31],
20: [2, 31],
22: [2, 31],
29: [2, 31],
30: [2, 31],
31: [2, 31],
32: [2, 31],
33: [2, 31],
34: [2, 31],
35: [2, 31]
}, {
5: [2, 32],
6: [1, 13],
Expand All @@ -912,15 +924,15 @@ var filtrex = (function (exports) {
20: [2, 32],
22: [2, 32],
28: 22,
29: [2, 32],
30: [2, 32],
31: [2, 32],
32: [2, 32],
33: [2, 32],
34: [2, 32],
35: [2, 32]
29: [1, 23],
30: [1, 24],
31: [1, 25],
32: [1, 26],
33: [1, 27],
34: [1, 28],
35: [1, 29]
}, {
4: 58,
4: 57,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand Down Expand Up @@ -953,7 +965,7 @@ var filtrex = (function (exports) {
34: [2, 15],
35: [2, 15]
}, {
4: 59,
4: 58,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand Down Expand Up @@ -1010,8 +1022,8 @@ var filtrex = (function (exports) {
34: [2, 21],
35: [2, 21]
}, {
20: [1, 60],
22: [1, 61]
20: [1, 59],
22: [1, 60]
}, {
6: [1, 13],
7: [1, 12],
Expand All @@ -1033,30 +1045,6 @@ var filtrex = (function (exports) {
33: [1, 27],
34: [1, 28],
35: [1, 29]
}, {
5: [2, 31],
6: [1, 13],
7: [1, 12],
8: [1, 14],
9: [1, 15],
10: [1, 16],
11: [1, 17],
12: [2, 31],
13: [2, 31],
14: [1, 21],
16: [2, 31],
17: [2, 31],
18: [2, 31],
20: [2, 31],
22: [2, 31],
28: 22,
29: [2, 31],
30: [2, 31],
31: [2, 31],
32: [2, 31],
33: [2, 31],
34: [2, 31],
35: [2, 31]
}, {
5: [2, 14],
6: [2, 14],
Expand Down Expand Up @@ -1091,7 +1079,7 @@ var filtrex = (function (exports) {
12: [1, 18],
13: [1, 19],
14: [1, 21],
17: [1, 62],
17: [1, 61],
18: [1, 20],
28: 22,
29: [1, 23],
Expand All @@ -1112,7 +1100,7 @@ var filtrex = (function (exports) {
13: [1, 19],
14: [1, 21],
18: [1, 20],
20: [1, 63],
20: [1, 62],
22: [2, 34],
28: 22,
29: [1, 23],
Expand Down Expand Up @@ -1146,7 +1134,7 @@ var filtrex = (function (exports) {
34: [2, 22],
35: [2, 22]
}, {
4: 64,
4: 63,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand All @@ -1156,7 +1144,7 @@ var filtrex = (function (exports) {
25: [1, 9],
27: 10
}, {
4: 65,
4: 64,
6: [1, 3],
14: [1, 4],
15: [1, 5],
Expand Down Expand Up @@ -1916,9 +1904,7 @@ var filtrex = (function (exports) {
declarations.push(tempVar);
}

const result = `(function(){ var ${ declarations.join(', ')}; return ${ comparisons.join(' && ') };})()`;
console.log(result);
return result
return `(function(){ var ${ declarations.join(', ')}; return ${ comparisons.join(' && ') };})()`
},
};

Expand Down
2 changes: 1 addition & 1 deletion dist/browser/filtrex.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit e272166

Please sign in to comment.