[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 04/12: Issue 3430 - Get rid of expression closure in EHH's common.js

David Prévot taffit at moszumanska.debian.org
Fri Jan 22 00:35:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit 09a1c70fd65a54312b3680c9b9663c367c835837
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Thu Dec 17 15:38:45 2015 +0100

    Issue 3430 - Get rid of expression closure in EHH's common.js
---
 chrome/content/common.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/chrome/content/common.js b/chrome/content/common.js
index cf56df1..60e5e8b 100644
--- a/chrome/content/common.js
+++ b/chrome/content/common.js
@@ -19,4 +19,7 @@ function require(module)
   return result.exports;
 }
 
-function E(id) document.getElementById(id);
+function E(id)
+{
+  return document.getElementById(id);
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list