Skip to content

Commit

Permalink
Title for Arrayish in short form
Browse files Browse the repository at this point in the history
  • Loading branch information
sroussey committed Oct 2, 2012
1 parent af90af4 commit 9cbc301
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension/content/firebug/chrome/reps.js
Expand Up @@ -738,7 +738,7 @@ FirebugReps.ArrBase = domplate(Firebug.Rep,
}, },
// END Yahoo BSD SOURCE See license below. // END Yahoo BSD SOURCE See license below.


getTitle: function(object, context) getTitleTag: function(object, context)
{ {
return "[" + object.length + "]"; return "[" + object.length + "]";
} }
Expand Down Expand Up @@ -806,6 +806,7 @@ FirebugReps.ArrayishObject = domplate(FirebugReps.ArrBase,
OBJECTBOX({_repObject: "$object", OBJECTBOX({_repObject: "$object",
$hasTwisty: "$object|hasSpecialProperties", $hasTwisty: "$object|hasSpecialProperties",
onclick: "$onToggleProperties"}, onclick: "$onToggleProperties"},
SPAN({"class": "objectTitle"}, "$object|getTitle "),
SPAN({"class": "arrayLeftBracket", role: "presentation"}, "["), SPAN({"class": "arrayLeftBracket", role: "presentation"}, "["),
FOR("item", "$object|shortArrayIterator", FOR("item", "$object|shortArrayIterator",
TAG("$item.tag", {object: "$item.object"}), TAG("$item.tag", {object: "$item.object"}),
Expand Down

0 comments on commit 9cbc301

Please sign in to comment.