Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove NodeCollection object (related to issue 5786)

  • Loading branch information...
commit 2e018a841fa0602d2aa1476f9a7386e33317543e 1 parent 895fb77
Jan Odvarko authored October 03, 2012

Showing 1 changed file with 0 additions and 46 deletions. Show diff stats Hide diff stats

  1. 46  extension/content/firebug/chrome/reps.js
46  extension/content/firebug/chrome/reps.js
@@ -851,51 +851,6 @@ FirebugReps.ArrayishObject = domplate(FirebugReps.ArrBase,
851 851
 
852 852
 // ********************************************************************************************* //
853 853
 
854  
-FirebugReps.NodeCollection = domplate(FirebugReps.Arr,
855  
-{
856  
-    tag:
857  
-        OBJECTBOX({_repObject: "$object",
858  
-            $hasTwisty: "$object|hasSpecialProperties",
859  
-            onclick: "$onToggleProperties"},
860  
-            SPAN({"class": "arrayLeftBracket", role: "presentation"}, "<["),
861  
-            FOR("item", "$object|longArrayIterator",
862  
-                TAG("$item.tag", {object: "$item.object"}),
863  
-                SPAN({"class": "arrayComma", role: "presentation"}, "$item.delim")
864  
-            ),
865  
-            SPAN({"class": "arrayRightBracket", role: "presentation"}, "]>"),
866  
-            SPAN({"class": "arrayProperties", role: "group"})
867  
-        ),
868  
-
869  
-    shortTag:
870  
-        OBJECTBOX({_repObject: "$object",
871  
-            $hasTwisty: "$object|hasSpecialProperties",
872  
-            onclick: "$onToggleProperties"},
873  
-            SPAN({"class": "arrayLeftBracket", role: "presentation"}, "<["),
874  
-            FOR("item", "$object|shortArrayIterator",
875  
-                TAG("$item.tag", {object: "$item.object"}),
876  
-                SPAN({"class": "arrayComma", role: "presentation"}, "$item.delim")
877  
-            ),
878  
-            SPAN({"class": "arrayRightBracket"}, "]>"),
879  
-            SPAN({"class": "arrayProperties", role: "group"})
880  
-        ),
881  
-
882  
-    isArray: function(obj, win)
883  
-    {
884  
-        if (mightBeArray(obj, win))
885  
-        {
886  
-            var view = Wrapper.getContentView(win || window);
887  
-            if (obj instanceof view.HTMLCollection)
888  
-                return true;
889  
-            else if (obj instanceof view.NodeList)
890  
-                return true;
891  
-        }
892  
-
893  
-        return false;
894  
-    },
895  
-});
896  
-
897  
-// ********************************************************************************************* //
898  
-
899 854
 FirebugReps.Property = domplate(Firebug.Rep,
900 855
 {
901 856
     supportsObject: function(object, type)
@@ -3287,7 +3242,6 @@ Firebug.registerRep(
3287 3242
     FirebugReps.Except,
3288 3243
     FirebugReps.XML,
3289 3244
     FirebugReps.Arr,
3290  
-    FirebugReps.NodeCollection,
3291 3245
     FirebugReps.ArrayishObject,
3292 3246
     FirebugReps.XPathResult,
3293 3247
     FirebugReps.Storage,

0 notes on commit 2e018a8

Please sign in to comment.
Something went wrong with that request. Please try again.