[Pkg-mozext-commits] [itsalltext] 422/459: Fixed dangling variables

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:45 UTC 2015


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

taffit pushed a commit to branch master
in repository itsalltext.

commit 7e616465fd97907d6d3300c508611188eea81a45
Author: Christian Höltje <docwhat at gerf.org>
Date:   Mon May 20 22:30:32 2013 -0400

    Fixed dangling variables
---
 src/chrome/content/badeditor.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/chrome/content/badeditor.js b/src/chrome/content/badeditor.js
index 4693bde..78a0a0b 100644
--- a/src/chrome/content/badeditor.js
+++ b/src/chrome/content/badeditor.js
@@ -17,7 +17,7 @@ function doOnload() {
     textnode = '**error**';
     /* Errors are from
      * http://lxr.mozilla.org/seamonkey/source/xpcom/base/nsError.h#262 */
-    noent_errors = [
+    var noent_errors = [
         'NS_ERROR_FILE_INVALID_PATH',
         'NS_ERROR_FILE_UNRECOGNIZED_PATH',
         'NS_ERROR_FILE_TARGET_DOES_NOT_EXIST',
@@ -25,7 +25,7 @@ function doOnload() {
         'NS_ERROR_FILE_NOT_FOUND',
         'NS_ERROR_FILE_NAME_TOO_LONG'
     ];
-    noexec_errors = [
+    var noexec_errors = [
         'NS_ERROR_FILE_ACCESS_DENIED',
         'NS_ERROR_FILE_IS_DIRECTORY',
         'NS_ERROR_FILE_IS_LOCKED'

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



More information about the Pkg-mozext-commits mailing list