Permalink
Browse files

Title for Arrayish in short form

  • Loading branch information...
1 parent af90af4 commit 9cbc301b9720d2e6a35760c8f2d5c29469b3476b @sroussey committed Oct 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 extension/content/firebug/chrome/reps.js
@@ -738,7 +738,7 @@ FirebugReps.ArrBase = domplate(Firebug.Rep,
},
// END Yahoo BSD SOURCE See license below.
- getTitle: function(object, context)
+ getTitleTag: function(object, context)
{
return "[" + object.length + "]";
}
@@ -806,6 +806,7 @@ FirebugReps.ArrayishObject = domplate(FirebugReps.ArrBase,
OBJECTBOX({_repObject: "$object",
$hasTwisty: "$object|hasSpecialProperties",
onclick: "$onToggleProperties"},
+ SPAN({"class": "objectTitle"}, "$object|getTitle "),
SPAN({"class": "arrayLeftBracket", role: "presentation"}, "["),
FOR("item", "$object|shortArrayIterator",
TAG("$item.tag", {object: "$item.object"}),

0 comments on commit 9cbc301

Please sign in to comment.