mozilla

User talk:Hamstersoup

Feel free to say hi...

--Hamstersoup 07:11, 22 February 2007 (PST)


Replied

Just a note that I replied to your question at Talk:Core_JavaScript_1.5_Guide:Constants#No_warning_if_you_try_to_re-assign_a_const.3F --Nickolay 11:29, 5 March 2007 (PST) same note for --Nickolay 11:32, 5 March 2007 (PST)

Can you clarify what you're looking for on the wiki?

Hi Nickolay, thanks for the newsgroup link, looks like a great source of info.

I think the MDC wiki is great. Whenever I google for a JS problem it's always the first hit.

I have been trying to document things that tripped me up, I assume many other people hit the same problems and I'm trying to save them the same pain.

That's great, thanks!--Nickolay 15:33, 5 March 2007 (PST)

Can you give me some guidance on my edits:

Talk:Core_JavaScript_1.5_Guide:Constants Is there any way to generate a warning if you mistakenly try to re-assign a const?

What is the purpose of the MDC JS documentation? Is is a pure abstract description of JS or should it include info on how JS executes on Firefox?

Both, preferably with a clear indication what kind a particular piece of information is of. --Nickolay 15:33, 5 March 2007 (PST)

If so, it seems relevant to highlight this unexpected behavior that many people will encounter. Would it be better if I had simply stated "Firefox will not generate a warning if you attempt to re-assign a const." ?

Yep, otherwise it looks like you're looking for help, which you should do in the newsgroups, where knowledgeable people are less likely to miss the question (and the pool of knowledgeable people monitoring the newsgroups is larger too).
In this particular case if you asked in newsgroups I'd suggest filing a bug to investigate changing the code to generate a warning. --Nickolay 15:33, 5 March 2007 (PST)

Talk:XUL:Method:showPopup Purpose of the element argument?

I added the question since the article XUL:Method:showPopup does not seem to explain why the element argument is necessary when using screen coordinates. I guess it's very easy to overlook when writing the documentation. Was it useful to highlight this? Would it have been better to write something like "TODO: explain why 'element' is required when using screen coordinates" ?

Yes, it's useful to highlight this, but leaving a comment on the talk page is unlikely to get the documentation fixed, unless you're lucky enough that the person who has both enough XUL knowledge and time notices your comment (the chance of that happening is pretty low). So the better course of action is to figure the answer yourself and/or ask in the XUL newsgroup for confirmations/clarifications, then add the answer to the wiki.
Another option - if you have certain thoughts about something, but not sure about it and don't want to go through the trouble of confirming it, - is putting your thoughts on the talk page and marking it as needing technical review (so that hopefully someday someone looks at it), but it's certainly less useful than doing the job yourself :) --Nickolay 15:33, 5 March 2007 (PST)

Simple example of using showPopup() to position a tooltip beside the mouse

Is the example that I added helpful? --Hamstersoup 14:44, 5 March 2007 (PST)

Probably.. it looks a bit weird that you're calling showPopup on mouse move, but looks fine otherwise.
I see you made lots of other changes I have yet to go through (working my way through the Special:Recentchanges backlog), so thanks a lot for helping out! It's really much appreciated. If you get any questions, feel free to ask it in #devmo on irc.mozilla.org or on the mailing list. --Nickolay 15:33, 5 March 2007 (PST)

Reply: User talk:Trasvina

This is a small response to the message you left for Introduction to Object-Oriented JavaScript. first of all thanks for the message, and to notify you that some changes have been made to the article, hope its better now. Trasvina 01:22, 30 June 2008 (PDT)

Document Tags and Contributors

Contributors to this page: Nickolay, Hamstersoup, Trasvina
Last updated by: Trasvina,