[Pkg-mozext-commits] [firebug] 47/59: Remove a part remained from the last commit.

David Prévot taffit at moszumanska.debian.org
Thu Aug 14 14:52:57 UTC 2014


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

taffit pushed a commit to branch master
in repository firebug.

commit 4454c1a34aa68c6bd10b000b4cb5fa22d39f224a
Author: Farshid Beheshti <farshid.beheshti at gmail.com>
Date:   Sat Aug 9 17:59:00 2014 +0430

    Remove a part remained from the last commit.
---
 extension/content/firebug/editor/sourceEditor.js | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/extension/content/firebug/editor/sourceEditor.js b/extension/content/firebug/editor/sourceEditor.js
index 96d90a9..3242292 100644
--- a/extension/content/firebug/editor/sourceEditor.js
+++ b/extension/content/firebug/editor/sourceEditor.js
@@ -439,16 +439,6 @@ SourceEditor.prototype =
         text = text || "";
         this.editorObject.setValue(text);
     },
-    onModeLoaded: function(modeName) {
-        // @reviewer(s): The performance penalty is here. The time taken to
-        // load the js mode files don't affect like this, so I think we should
-        // find a way to apply the modes asynchronously, line by line when the
-        // viewport is changed(onScrolling e.g.). I'm thinking of runmode
-        // addon here: http://codemirror.net/doc/manual.html#addon_runmode, but
-        // there is still a problem that runMode() needs an argument(third one)
-        // to populate the output. Any thought?
-        this.editorObject.setOption("mode", modeName);
-    },
     getText: function()
     {
         return this.editorObject.getValue();

-- 
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