Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove NodeCollection object (related to issue 5786)

  • Loading branch information...
commit 2e018a841fa0602d2aa1476f9a7386e33317543e 1 parent 895fb77
@janodvarko janodvarko authored
Showing with 0 additions and 46 deletions.
  1. +0 −46 extension/content/firebug/chrome/reps.js
View
46 extension/content/firebug/chrome/reps.js
@@ -851,51 +851,6 @@ FirebugReps.ArrayishObject = domplate(FirebugReps.ArrBase,
// ********************************************************************************************* //
-FirebugReps.NodeCollection = domplate(FirebugReps.Arr,
-{
- tag:
- OBJECTBOX({_repObject: "$object",
- $hasTwisty: "$object|hasSpecialProperties",
- onclick: "$onToggleProperties"},
- 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": "arrayProperties", role: "group"})
- ),
-
- shortTag:
- OBJECTBOX({_repObject: "$object",
- $hasTwisty: "$object|hasSpecialProperties",
- onclick: "$onToggleProperties"},
- 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": "arrayProperties", role: "group"})
- ),
-
- isArray: function(obj, win)
- {
- if (mightBeArray(obj, win))
- {
- var view = Wrapper.getContentView(win || window);
- if (obj instanceof view.HTMLCollection)
- return true;
- else if (obj instanceof view.NodeList)
- return true;
- }
-
- return false;
- },
-});
-
-// ********************************************************************************************* //
-
FirebugReps.Property = domplate(Firebug.Rep,
{
supportsObject: function(object, type)
@@ -3287,7 +3242,6 @@ Firebug.registerRep(
FirebugReps.Except,
FirebugReps.XML,
FirebugReps.Arr,
- FirebugReps.NodeCollection,
FirebugReps.ArrayishObject,
FirebugReps.XPathResult,
FirebugReps.Storage,
Please sign in to comment.
Something went wrong with that request. Please try again.