Skip to content

Commit

Permalink
Show an array object simply as a named array, not a hybrid
Browse files Browse the repository at this point in the history
  • Loading branch information
sroussey committed Sep 11, 2012
1 parent ffd81dd commit 596e89d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extension/content/firebug/chrome/reps.js
Original file line number Diff line number Diff line change
Expand Up @@ -770,25 +770,25 @@ FirebugReps.ArrayishObject = domplate(FirebugReps.ArrBase,
$hasTwisty: "$object|hasSpecialProperties",
onclick: "$onToggleProperties"},
SPAN({"class": "objectTitle"}, "$object|getTitle "),
SPAN({"class": "arrayLeftBracket", role: "presentation"}, "{["),
SPAN({"class": "arrayLeftBracket", role: "presentation"}, "["),
FOR("item", "$object|longArrayIterator",
TAG("$item.tag", {object: "$item.object"}),
SPAN({"class": "arrayComma", role: "presentation"}, "$item.delim")
),
SPAN({"class": "arrayRightBracket", role: "presentation"}, "]}"),
SPAN({"class": "arrayRightBracket", role: "presentation"}, "]"),
SPAN({"class": "arrayProperties", role: "group"})
),

shortTag:
OBJECTBOX({_repObject: "$object",
$hasTwisty: "$object|hasSpecialProperties",
onclick: "$onToggleProperties"},
SPAN({"class": "arrayLeftBracket", role: "presentation"}, "{["),
SPAN({"class": "arrayLeftBracket", role: "presentation"}, "["),
FOR("item", "$object|shortArrayIterator",
TAG("$item.tag", {object: "$item.object"}),
SPAN({"class": "arrayComma", role: "presentation"}, "$item.delim")
),
SPAN({"class": "arrayRightBracket"}, "]}"),
SPAN({"class": "arrayRightBracket"}, "]"),
SPAN({"class": "arrayProperties", role: "group"})
),

Expand Down

0 comments on commit 596e89d

Please sign in to comment.