Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
resync and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jspenguin2017 committed Jul 28, 2019
1 parent e59c11c commit ada598c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion patches/20_4_log_script_snippet_errors.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/src/js/scriptlet-filtering.js b/src/js/scriptlet-filtering.js
index 8859b465..fa93503c 100644
index 2d57147d..625c81b5 100644
--- a/src/js/scriptlet-filtering.js
+++ b/src/js/scriptlet-filtering.js
@@ -224,7 +224,9 @@
Expand Down
4 changes: 2 additions & 2 deletions patches/90_0_temporary_migration.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/src/js/redirect-engine.js b/src/js/redirect-engine.js
index c5eab189..6c08209c 100644
index bb480670..2c105e0e 100644
--- a/src/js/redirect-engine.js
+++ b/src/js/redirect-engine.js
@@ -711,6 +711,7 @@ RedirectEngine.prototype.loadBuiltinResources = function() {
@@ -699,6 +699,7 @@ RedirectEngine.prototype.loadBuiltinResources = function() {

// TODO: remove once usage of uBO 1.20.4 is widespread.
µBlock.assets.remove('ublock-resources');
Expand Down
4 changes: 2 additions & 2 deletions patches/integration/10_2_extended_resources.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/src/js/redirect-engine.js b/src/js/redirect-engine.js
index 9368c812..024e2812 100644
index b6c4b6e2..75f8b567 100644
--- a/src/js/redirect-engine.js
+++ b/src/js/redirect-engine.js
@@ -168,6 +168,9 @@ const extToMimeMap = new Map([
Expand All @@ -13,7 +13,7 @@ index 9368c812..024e2812 100644

const mimeFromName = function(name) {
diff --git a/src/js/scriptlet-filtering.js b/src/js/scriptlet-filtering.js
index b1cd5141..5b5d606f 100644
index be98e80b..9568af74 100644
--- a/src/js/scriptlet-filtering.js
+++ b/src/js/scriptlet-filtering.js
@@ -223,7 +223,7 @@
Expand Down
4 changes: 2 additions & 2 deletions patches/integration/10_4_extended_options.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/src/js/redirect-engine.js b/src/js/redirect-engine.js
index 024e2812..a1323a9b 100644
index 75f8b567..9b070639 100644
--- a/src/js/redirect-engine.js
+++ b/src/js/redirect-engine.js
@@ -502,6 +502,8 @@ RedirectEngine.prototype.supportedTypes = new Map([
@@ -490,6 +490,8 @@ RedirectEngine.prototype.supportedTypes = new Map([
[ 'subdocument', 'sub_frame' ],
[ 'xhr', 'xmlhttprequest' ],
[ 'xmlhttprequest', 'xmlhttprequest' ],
Expand Down
10 changes: 5 additions & 5 deletions patches/integration/10_6_lint_filters.patch
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ index 58a23b14..d87ea24b 100644
if ( parsed.exception ) {
kind |= 0b01;
diff --git a/src/js/redirect-engine.js b/src/js/redirect-engine.js
index a1323a9b..c5eab189 100644
index 9b070639..bb480670 100644
--- a/src/js/redirect-engine.js
+++ b/src/js/redirect-engine.js
@@ -411,7 +411,13 @@ RedirectEngine.prototype.fromCompiledRule = function(line) {
@@ -399,7 +399,13 @@ RedirectEngine.prototype.fromCompiledRule = function(line) {

RedirectEngine.prototype.compileRuleFromStaticFilter = function(line) {
const matches = this.reFilterParser.exec(line);
Expand All @@ -94,7 +94,7 @@ index a1323a9b..c5eab189 100644

const des = matches[1] || '';

@@ -456,17 +462,26 @@ RedirectEngine.prototype.compileRuleFromStaticFilter = function(line) {
@@ -444,17 +450,26 @@ RedirectEngine.prototype.compileRuleFromStaticFilter = function(line) {
}
// One and only one type must be specified.
if ( this.supportedTypes.has(option) ) {
Expand Down Expand Up @@ -124,7 +124,7 @@ index a1323a9b..c5eab189 100644

if ( deshn === '' ) {
deshn = '*';
@@ -479,10 +494,19 @@ RedirectEngine.prototype.compileRuleFromStaticFilter = function(line) {
@@ -467,10 +482,19 @@ RedirectEngine.prototype.compileRuleFromStaticFilter = function(line) {
const out = [];
for ( const srchn of srchns ) {
if ( srchn === '' ) { continue; }
Expand All @@ -146,7 +146,7 @@ index a1323a9b..c5eab189 100644
};

diff --git a/src/js/scriptlet-filtering.js b/src/js/scriptlet-filtering.js
index 5b5d606f..8859b465 100644
index 9568af74..2d57147d 100644
--- a/src/js/scriptlet-filtering.js
+++ b/src/js/scriptlet-filtering.js
@@ -283,6 +283,8 @@
Expand Down

0 comments on commit ada598c

Please sign in to comment.