From 35854e4baf8b3b3aeb3f0f63ae9e7d3e46a4ba64 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 6 Sep 2019 09:40:04 -0400 Subject: [PATCH] Use more descriptive name for raf-if.js Related feedback: - https://github.com/gorhill/uBlock/commit/6831967f5f9d64412a9c063f3b64104d9dce7b07#commitcomment-34979880 --- assets/resources/scriptlets.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/resources/scriptlets.js b/assets/resources/scriptlets.js index 14fdcc8b7..55a44c83e 100644 --- a/assets/resources/scriptlets.js +++ b/assets/resources/scriptlets.js @@ -391,7 +391,8 @@ })(); -/// raf-if.js +/// requestAnimationFrame-if.js +/// alias raf-if.js (function() { let needle = '{{1}}'; const not = needle.charAt(0) === '!';