[Pkg-mozext-commits] [firebug] 04/18: Fixed a few places in code that caused warnings
David Prévot
taffit at moszumanska.debian.org
Thu Jun 9 01:36:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firebug.
commit 2c2c4c684ea6bfcc9e251606b846d97ca6063b6a
Author: SebastianZ <sebastianzartner at gmail.com>
Date: Mon May 2 08:09:18 2016 +0200
Fixed a few places in code that caused warnings
---
extension/content/firebug/debugger/script/breakNotification.js | 3 +++
extension/content/firebug/firefox/external-editors/editors.js | 2 +-
extension/content/firebug/net/netProgress.js | 2 ++
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/extension/content/firebug/debugger/script/breakNotification.js b/extension/content/firebug/debugger/script/breakNotification.js
index 09ebced..c4fb021 100644
--- a/extension/content/firebug/debugger/script/breakNotification.js
+++ b/extension/content/firebug/debugger/script/breakNotification.js
@@ -305,6 +305,8 @@ BreakNotification.prototype = domplate(Rep,
this.listener.onNotificationShow(this);
return;
+ // xxxSebastian: Code is unreachable, therefore commented out
+ /*
// Animation
var self = this;
var delta = Math.max(3, Math.floor(this.box.clientHeight/5));
@@ -326,6 +328,7 @@ BreakNotification.prototype = domplate(Rep,
}, 15);
return this.box;
+ */
},
hide: function()
diff --git a/extension/content/firebug/firefox/external-editors/editors.js b/extension/content/firebug/firefox/external-editors/editors.js
index 80c3b99..7860ade 100644
--- a/extension/content/firebug/firefox/external-editors/editors.js
+++ b/extension/content/firebug/firefox/external-editors/editors.js
@@ -211,7 +211,7 @@ EditorManager.prototype =
try
{
- var editors = this._data.map(function(x) x.id);
+ var editors = this._data.map(x => x.id);
prefs.setCharPref(this._prefName, editors.join(","));
}
catch (exc)
diff --git a/extension/content/firebug/net/netProgress.js b/extension/content/firebug/net/netProgress.js
index 0f79501..189b3a5 100644
--- a/extension/content/firebug/net/netProgress.js
+++ b/extension/content/firebug/net/netProgress.js
@@ -956,6 +956,7 @@ NetProgress.prototype =
function logTime(file, title, time)
{
// xxxHonza: just for debugging purposes.
+ /*
return;
if (!file._timings)
@@ -969,6 +970,7 @@ function logTime(file, title, time)
index: ++file._timings.counter,
time: time
});
+ */
}
// ********************************************************************************************* //
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list