Skip to content

Commit

Permalink
Merge pull request #663 from brave/fix-empty-function
Browse files Browse the repository at this point in the history
fix empty function
  • Loading branch information
antonok-edm authored Aug 8, 2023
2 parents ce2935e + b67f1a4 commit 4df26a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adBlockRustUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const generateResources = lazyInit(async () => {
return map
}, {})
// temporary (🤞) workaround for https://github.com/uBlockOrigin/uBlock-issues/issues/2742#issuecomment-1668594237
dependencyMap['get-extra-args-entries.fn'] = ({ fn: function () {} })
dependencyMap['get-extra-args-entries.fn'] = ({ fn: (function () {}) })

// ignore "trusted" scriptlets for now
const transformedUboBuiltins = builtinScriptlets.filter(s => !s.name.endsWith('.fn') && !s.requiresTrust).map(s => {
Expand Down

0 comments on commit 4df26a5

Please sign in to comment.