Skip to content

Commit

Permalink
Spin-off FilterOrigin flavors into standalone classes
Browse files Browse the repository at this point in the history
This removes the derivation of FilterOrigin flavors from
FilterOrigin itself and simplify code paths. FilterOrigin
flavors are small specialized classes, no need to
overcomplicate with derivation.

Specifically, this removes an indirect call to reach the
match() method.
  • Loading branch information
gorhill committed Feb 16, 2019
1 parent 5733439 commit e93062b
Show file tree
Hide file tree
Showing 2 changed files with 240 additions and 237 deletions.
2 changes: 1 addition & 1 deletion src/js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const µBlock = (function() { // jshint ignore:line

// Read-only
systemSettings: {
compiledMagic: 6, // Increase when compiled format changes
compiledMagic: 7, // Increase when compiled format changes
selfieMagic: 8 // Increase when selfie format changes
},

Expand Down
Loading

0 comments on commit e93062b

Please sign in to comment.