From 855a042623d45a17eb6e40907023e16275d27dc2 Mon Sep 17 00:00:00 2001 From: Sebastian Zartner Date: Sun, 2 Jun 2013 02:28:17 +0200 Subject: [PATCH] Removed unused functionality for getting vertical text --- extension/content/firebug/html/layout.js | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/extension/content/firebug/html/layout.js b/extension/content/firebug/html/layout.js index a44ed568fb..fb4bf9c4f5 100644 --- a/extension/content/firebug/html/layout.js +++ b/extension/content/firebug/html/layout.js @@ -200,11 +200,6 @@ LayoutPanel.prototype = Obj.extend(Firebug.Panel, isInvisible: function(value) { return value == 0; - }, - - getVerticalText: function(n) - { - return getVerticalText(n); } }), @@ -520,10 +515,7 @@ LayoutEditor.prototype = domplate(Firebug.InlineEditor.prototype, Firebug.Inspector.highlightObject(this.panel.selection, this.panel.context, "boxModel", boxFrame); } - if (Css.hasClass(target, "layoutVerticalText")) - target.innerHTML = getVerticalText(intValue); - else - target.textContent = intValue; + target.textContent = intValue; }, endEditing: function(target, value, cancel) @@ -561,15 +553,6 @@ function getBoxEdge(element) return m ? m[1] : ""; } -function getVerticalText(n) -{ - n = n+""; - var text = []; - for (var i = 0; i < n.length; ++i) - text.push(n[i]); - return text.join("
"); -} - // ************************************************************************************************ // Registration