Skip to content

Commit

Permalink
Removed unused functionality for getting vertical text
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianZ committed Jun 2, 2013
1 parent aa8524d commit 855a042
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions extension/content/firebug/html/layout.js
Expand Up @@ -200,11 +200,6 @@ LayoutPanel.prototype = Obj.extend(Firebug.Panel,
isInvisible: function(value)
{
return value == 0;
},

getVerticalText: function(n)
{
return getVerticalText(n);
}
}),

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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("<br>");
}

// ************************************************************************************************
// Registration

Expand Down

0 comments on commit 855a042

Please sign in to comment.