[Pkg-mozext-commits] [adblock-plus] 285/464: Fixed instanceof operator precedence

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:26 UTC 2014


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

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

commit 2a64a802e05b1a2617d747ff516f134949c868f5
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Aug 27 15:54:00 2012 +0200

    Fixed instanceof operator precedence
---
 scripts/astDecompile.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/astDecompile.js b/scripts/astDecompile.js
index 316a46f..b89de80 100644
--- a/scripts/astDecompile.js
+++ b/scripts/astDecompile.js
@@ -184,7 +184,7 @@ let precedence = {
   "^": 8,
   "&": 9,
   "==": 10, "!=": 10, "===": 10, "!==": 10,
-  "<=": 11, ">=": 11, "<": 11, ">": 11, "in": 11,
+  "<=": 11, ">=": 11, "<": 11, ">": 11, "in": 11, "instanceof": 11,
   "<<": 12, ">>": 12, ">>>": 12,
   "+": 13, "-": 13,
   "*": 14, "/": 14, "%": 14,

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



More information about the Pkg-mozext-commits mailing list