IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User

Welcome to IWETHEY!

New How does it handle JS classes?
I had a wierd problem with some AJAX-ified JavaScript a few months ago and got to the point of trying to see what I could see in Venkman.

It couldn't see my class functions*. :-O

I eventually solved whatever problem it was another way, but still.


* For those who don't know, these are functions created as object elements, either directly with the object literal notation, or by assigning inline function declarations. I find they are great for namespace management.
"Don't give up!"
[link|http://staticsan.livejournal.com/|blog] · [link|http://yceran.org/|website]
New Haven't tried that.
I was referring more to the AJAX request console, which shows you what gets POSTed and returned.

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New How were they defined?

Depending on exactly which syntax you use to define your functions, you can end up with their names not being visible to various debuggers.

--\r\nYou cooin' with my bird?
New Don't remember exactly.
I know they weren't using the 'normal' function name() { ... } notation. I remember that because the page still had one or two functions like that and Venkman could see those.

But it couldn't see functions defined like this:

\nvar search_dropdown = {\n    keyword: document.ticketsearch.search_keyword,\n    list: {\n        'issue': document.ticketsearch.search_keyword_issue,\n        'product': document.ticketsearch.search_keyword_product,\n        'code': document.ticketsearch.search_keyword_code\n    },\n    check: function(el) {\n        this.keyword.style.display = 'none'\n        for( other in this.list )\n            this.list[other].style.display = 'none'\n        if( el.value in this.list )\n            this.list[el.value].style.display = 'inline'\n        else\n            this.keyword.style.display = 'inline'\n    },\n    set: function(el) {\n        if( el.value in this.list )\n            this.keyword.value = this.list[el.value].value\n    }\n}\nsearch_dropdown.check(document.ticketsearch.search_where)\n

Wade, whose just realized his style of JavaScript programming is being put on show...
"Don't give up!"
[link|http://staticsan.livejournal.com/|blog] · [link|http://yceran.org/|website]
     CSSEdit for OS X - (pwhysall) - (16)
         Aptana's nice too - (tjsinclair)
         Meh. - (admin) - (14)
             Here's what I really found useful (52K img) - (pwhysall) - (13)
                 A Web design friend raves about using it to debug - (dws)
                 Not sure what you're trying to show me there -NT - (admin) - (11)
                     pointclickdrool - (pwhysall) - (10)
                         Firebug++ - (ubernostrum)
                         Buh? - (admin) - (8)
                             Give Firebug a try. - (ubernostrum) - (7)
                                 Why would I thank you later? - (admin) - (6)
                                     How does it handle JS classes? - (static) - (3)
                                         Haven't tried that. - (admin)
                                         How were they defined? - (ubernostrum) - (1)
                                             Don't remember exactly. - (static)
                                     I was using it to debug some javascript - (tuberculosis) - (1)
                                         Weird. - (ubernostrum)

It is toilet- ka ka crap as in the egregiously unfunny and unwatchable SNL.
66 ms