[Webkit-unassigned] [Bug 17907] Inspector should support Firebug's magic $0 variable to access inspected node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 21 16:59:24 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=17907





--- Comment #11 from Timothy Hatcher <timothy at hatcher.name>  2009-07-21 16:59:23 PDT ---
(From update of attachment 33223)
> +                profileEnd: function() { return console.profileEnd.apply(console, arguments) }, \
> +                 _inspectedNodes: [], \
> +                _addInspectedNode: function(node) { \

The indentation is one space off for _inspectedNodes.

+                      var _inspectedNodes =
_inspectorCommandLineAPI._inspectedNodes; \

The local variable should not have an underscore prefix.

> +                $n: function(n) { return _inspectorCommandLineAPI._inspectedNodes[n] } \

Firebug really adds a $n function? Not just $0, $1, $2, $3 and $4?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list