[Pkg-mozext-commits] [greasemonkey] 04/45: Add parentheses around assignment in while().
David Prévot
taffit at moszumanska.debian.org
Mon Nov 3 20:59:18 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 593df6497186b0e5810b597dfb0bf758b6724557
Author: Ventero <ventero at ventero.de>
Date: Sat Aug 30 04:43:21 2014 +0200
Add parentheses around assignment in while().
---
modules/script.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/script.js b/modules/script.js
index 5e29064..a90d235 100644
--- a/modules/script.js
+++ b/modules/script.js
@@ -695,7 +695,7 @@ Script.prototype.updateFromNewScript = function(newScript, safeWin) {
var pendingExec;
var pendingExecAry = this.pendingExec;
this.pendingExec = [];
- while (pendingExec = pendingExecAry.shift()) {
+ while ((pendingExec = pendingExecAry.shift())) {
if ('document-start update' == pendingExec) {
GM_util.logError(
this.id + '\n... script update complete '
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list